home *** CD-ROM | disk | FTP | other *** search
- // Machine generated IDispatch wrapper class(es) created with ClassWizard
-
- #include "stdafx.h"
- #include "gtlist32.h"
-
- #ifdef _DEBUG
- #define new DEBUG_NEW
- #undef THIS_FILE
- static char THIS_FILE[] = __FILE__;
- #endif
-
-
-
- /////////////////////////////////////////////////////////////////////////////
- // _DGTListEvents properties
-
- /////////////////////////////////////////////////////////////////////////////
- // _DGTListEvents operations
-
- void _DGTListEvents::Click()
- {
- InvokeHelper(DISPID_CLICK, DISPATCH_METHOD, VT_EMPTY, NULL, NULL);
- }
-
- void _DGTListEvents::DblClick()
- {
- InvokeHelper(DISPID_DBLCLICK, DISPATCH_METHOD, VT_EMPTY, NULL, NULL);
- }
-
- void _DGTListEvents::KeyDown(short* KeyCode, short Shift)
- {
- static BYTE parms[] =
- VTS_PI2 VTS_I2;
- InvokeHelper(DISPID_KEYDOWN, DISPATCH_METHOD, VT_EMPTY, NULL, parms,
- KeyCode, Shift);
- }
-
- void _DGTListEvents::KeyPress(short* KeyAscii)
- {
- static BYTE parms[] =
- VTS_PI2;
- InvokeHelper(DISPID_KEYPRESS, DISPATCH_METHOD, VT_EMPTY, NULL, parms,
- KeyAscii);
- }
-
- void _DGTListEvents::KeyUp(short* KeyCode, short Shift)
- {
- static BYTE parms[] =
- VTS_PI2 VTS_I2;
- InvokeHelper(DISPID_KEYUP, DISPATCH_METHOD, VT_EMPTY, NULL, parms,
- KeyCode, Shift);
- }
-
- void _DGTListEvents::MouseDown(short Button, short Shift, long x, long y)
- {
- static BYTE parms[] =
- VTS_I2 VTS_I2 VTS_I4 VTS_I4;
- InvokeHelper(DISPID_MOUSEDOWN, DISPATCH_METHOD, VT_EMPTY, NULL, parms,
- Button, Shift, x, y);
- }
-
- void _DGTListEvents::MouseMove(short Button, short Shift, long x, long y)
- {
- static BYTE parms[] =
- VTS_I2 VTS_I2 VTS_I4 VTS_I4;
- InvokeHelper(DISPID_MOUSEMOVE, DISPATCH_METHOD, VT_EMPTY, NULL, parms,
- Button, Shift, x, y);
- }
-
- void _DGTListEvents::MouseUp(short Button, short Shift, long x, long y)
- {
- static BYTE parms[] =
- VTS_I2 VTS_I2 VTS_I4 VTS_I4;
- InvokeHelper(DISPID_MOUSEUP, DISPATCH_METHOD, VT_EMPTY, NULL, parms,
- Button, Shift, x, y);
- }
-
- void _DGTListEvents::ListItemDataRequest(LPDISPATCH* ListItem, long Index)
- {
- static BYTE parms[] =
- VTS_PDISPATCH VTS_I4;
- InvokeHelper(0x1, DISPATCH_METHOD, VT_EMPTY, NULL, parms,
- ListItem, Index);
- }
-
- void _DGTListEvents::ExtendTipBegin(BOOL* Cancel)
- {
- static BYTE parms[] =
- VTS_PBOOL;
- InvokeHelper(0x2, DISPATCH_METHOD, VT_EMPTY, NULL, parms,
- Cancel);
- }
-
- void _DGTListEvents::ExtendTipEnd()
- {
- InvokeHelper(0x3, DISPATCH_METHOD, VT_EMPTY, NULL, NULL);
- }
-
- void _DGTListEvents::ScrollTipBegin(BOOL* Cancel)
- {
- static BYTE parms[] =
- VTS_PBOOL;
- InvokeHelper(0x4, DISPATCH_METHOD, VT_EMPTY, NULL, parms,
- Cancel);
- }
-
- void _DGTListEvents::ScrollTipEnd()
- {
- InvokeHelper(0x5, DISPATCH_METHOD, VT_EMPTY, NULL, NULL);
- }
-
- void _DGTListEvents::ClickColumn(LPDISPATCH* ColumnDef)
- {
- static BYTE parms[] =
- VTS_PDISPATCH;
- InvokeHelper(0x6, DISPATCH_METHOD, VT_EMPTY, NULL, parms,
- ColumnDef);
- }
-
- void _DGTListEvents::ClickItem(LPDISPATCH* ListItem, LPDISPATCH* SubItem)
- {
- static BYTE parms[] =
- VTS_PDISPATCH VTS_PDISPATCH;
- InvokeHelper(0x7, DISPATCH_METHOD, VT_EMPTY, NULL, parms,
- ListItem, SubItem);
- }
-
- void _DGTListEvents::ColumnAfterMove(LPDISPATCH ColumnDef)
- {
- static BYTE parms[] =
- VTS_DISPATCH;
- InvokeHelper(0x8, DISPATCH_METHOD, VT_EMPTY, NULL, parms,
- ColumnDef);
- }
-
- void _DGTListEvents::ColumnBeforeMove(LPDISPATCH ColumnDef, BOOL* Cancel)
- {
- static BYTE parms[] =
- VTS_DISPATCH VTS_PBOOL;
- InvokeHelper(0x9, DISPATCH_METHOD, VT_EMPTY, NULL, parms,
- ColumnDef, Cancel);
- }
-
- void _DGTListEvents::ColumnResize(LPDISPATCH* ColumnDef, BOOL* Cancel)
- {
- static BYTE parms[] =
- VTS_PDISPATCH VTS_PBOOL;
- InvokeHelper(0xa, DISPATCH_METHOD, VT_EMPTY, NULL, parms,
- ColumnDef, Cancel);
- }
-
- void _DGTListEvents::HorzScroll()
- {
- InvokeHelper(0xb, DISPATCH_METHOD, VT_EMPTY, NULL, NULL);
- }
-
- void _DGTListEvents::VertScroll()
- {
- InvokeHelper(0xc, DISPATCH_METHOD, VT_EMPTY, NULL, NULL);
- }
-
-
- /////////////////////////////////////////////////////////////////////////////
- // _DGTList properties
-
- OLE_COLOR _DGTList::GetBackColor()
- {
- OLE_COLOR result;
- GetProperty(DISPID_BACKCOLOR, VT_I4, (void*)&result);
- return result;
- }
-
- void _DGTList::SetBackColor(OLE_COLOR propVal)
- {
- SetProperty(DISPID_BACKCOLOR, VT_I4, propVal);
- }
-
- BOOL _DGTList::GetEnabled()
- {
- BOOL result;
- GetProperty(DISPID_ENABLED, VT_BOOL, (void*)&result);
- return result;
- }
-
- void _DGTList::SetEnabled(BOOL propVal)
- {
- SetProperty(DISPID_ENABLED, VT_BOOL, propVal);
- }
-
- OLE_HANDLE _DGTList::GetHWnd()
- {
- OLE_HANDLE result;
- GetProperty(DISPID_HWND, VT_I4, (void*)&result);
- return result;
- }
-
- void _DGTList::SetHWnd(OLE_HANDLE propVal)
- {
- SetProperty(DISPID_HWND, VT_I4, propVal);
- }
-
- long _DGTList::GetMultiSelect()
- {
- long result;
- GetProperty(0x2, VT_I4, (void*)&result);
- return result;
- }
-
- void _DGTList::SetMultiSelect(long propVal)
- {
- SetProperty(0x2, VT_I4, propVal);
- }
-
- LPDISPATCH _DGTList::GetPicture()
- {
- LPDISPATCH result;
- GetProperty(0x3, VT_DISPATCH, (void*)&result);
- return result;
- }
-
- void _DGTList::SetPicture(LPDISPATCH propVal)
- {
- SetProperty(0x3, VT_DISPATCH, propVal);
- }
-
- long _DGTList::GetPictureAlignment()
- {
- long result;
- GetProperty(0x4, VT_I4, (void*)&result);
- return result;
- }
-
- void _DGTList::SetPictureAlignment(long propVal)
- {
- SetProperty(0x4, VT_I4, propVal);
- }
-
- LPDISPATCH _DGTList::GetSelectedItem()
- {
- LPDISPATCH result;
- GetProperty(0x5, VT_DISPATCH, (void*)&result);
- return result;
- }
-
- void _DGTList::SetSelectedItem(LPDISPATCH propVal)
- {
- SetProperty(0x5, VT_DISPATCH, propVal);
- }
-
- BOOL _DGTList::GetSorted()
- {
- BOOL result;
- GetProperty(0x6, VT_BOOL, (void*)&result);
- return result;
- }
-
- void _DGTList::SetSorted(BOOL propVal)
- {
- SetProperty(0x6, VT_BOOL, propVal);
- }
-
- short _DGTList::GetSortKey()
- {
- short result;
- GetProperty(0x7, VT_I2, (void*)&result);
- return result;
- }
-
- void _DGTList::SetSortKey(short propVal)
- {
- SetProperty(0x7, VT_I2, propVal);
- }
-
- long _DGTList::GetSortOrder()
- {
- long result;
- GetProperty(0x8, VT_I4, (void*)&result);
- return result;
- }
-
- void _DGTList::SetSortOrder(long propVal)
- {
- SetProperty(0x8, VT_I4, propVal);
- }
-
- VARIANT _DGTList::GetTagVariant()
- {
- VARIANT result;
- GetProperty(0x9, VT_VARIANT, (void*)&result);
- return result;
- }
-
- void _DGTList::SetTagVariant(const VARIANT& propVal)
- {
- SetProperty(0x9, VT_VARIANT, &propVal);
- }
-
- BOOL _DGTList::GetAllowColumnDragDrop()
- {
- BOOL result;
- GetProperty(0xa, VT_BOOL, (void*)&result);
- return result;
- }
-
- void _DGTList::SetAllowColumnDragDrop(BOOL propVal)
- {
- SetProperty(0xa, VT_BOOL, propVal);
- }
-
- BOOL _DGTList::GetAllowColumnResize()
- {
- BOOL result;
- GetProperty(0xb, VT_BOOL, (void*)&result);
- return result;
- }
-
- void _DGTList::SetAllowColumnResize(BOOL propVal)
- {
- SetProperty(0xb, VT_BOOL, propVal);
- }
-
- CString _DGTList::GetImageList()
- {
- CString result;
- GetProperty(0xc, VT_BSTR, (void*)&result);
- return result;
- }
-
- void _DGTList::SetImageList(LPCTSTR propVal)
- {
- SetProperty(0xc, VT_BSTR, propVal);
- }
-
- long _DGTList::GetListCount()
- {
- long result;
- GetProperty(0xd, VT_I4, (void*)&result);
- return result;
- }
-
- void _DGTList::SetListCount(long propVal)
- {
- SetProperty(0xd, VT_I4, propVal);
- }
-
- long _DGTList::GetNewIndex()
- {
- long result;
- GetProperty(0xe, VT_I4, (void*)&result);
- return result;
- }
-
- void _DGTList::SetNewIndex(long propVal)
- {
- SetProperty(0xe, VT_I4, propVal);
- }
-
- unsigned long _DGTList::GetScrollTipBackColor()
- {
- unsigned long result;
- GetProperty(0xf, VT_I4, (void*)&result);
- return result;
- }
-
- void _DGTList::SetScrollTipBackColor(unsigned long propVal)
- {
- SetProperty(0xf, VT_I4, propVal);
- }
-
- CString _DGTList::GetScrollTipDataField()
- {
- CString result;
- GetProperty(0x10, VT_BSTR, (void*)&result);
- return result;
- }
-
- void _DGTList::SetScrollTipDataField(LPCTSTR propVal)
- {
- SetProperty(0x10, VT_BSTR, propVal);
- }
-
- LPDISPATCH _DGTList::GetScrollTipFont()
- {
- LPDISPATCH result;
- GetProperty(0x11, VT_DISPATCH, (void*)&result);
- return result;
- }
-
- void _DGTList::SetScrollTipFont(LPDISPATCH propVal)
- {
- SetProperty(0x11, VT_DISPATCH, propVal);
- }
-
- unsigned long _DGTList::GetScrollTipForeColor()
- {
- unsigned long result;
- GetProperty(0x12, VT_I4, (void*)&result);
- return result;
- }
-
- void _DGTList::SetScrollTipForeColor(unsigned long propVal)
- {
- SetProperty(0x12, VT_I4, propVal);
- }
-
- long _DGTList::GetSelCount()
- {
- long result;
- GetProperty(0x13, VT_I4, (void*)&result);
- return result;
- }
-
- void _DGTList::SetSelCount(long propVal)
- {
- SetProperty(0x13, VT_I4, propVal);
- }
-
- CString _DGTList::GetText()
- {
- CString result;
- GetProperty(DISPID_TEXT, VT_BSTR, (void*)&result);
- return result;
- }
-
- void _DGTList::SetText(LPCTSTR propVal)
- {
- SetProperty(DISPID_TEXT, VT_BSTR, propVal);
- }
-
- unsigned long _DGTList::GetExtendTipBackColor()
- {
- unsigned long result;
- GetProperty(0x14, VT_I4, (void*)&result);
- return result;
- }
-
- void _DGTList::SetExtendTipBackColor(unsigned long propVal)
- {
- SetProperty(0x14, VT_I4, propVal);
- }
-
- CString _DGTList::GetExtendTipDataField()
- {
- CString result;
- GetProperty(0x15, VT_BSTR, (void*)&result);
- return result;
- }
-
- void _DGTList::SetExtendTipDataField(LPCTSTR propVal)
- {
- SetProperty(0x15, VT_BSTR, propVal);
- }
-
- long _DGTList::GetExtendTipDelay()
- {
- long result;
- GetProperty(0x16, VT_I4, (void*)&result);
- return result;
- }
-
- void _DGTList::SetExtendTipDelay(long propVal)
- {
- SetProperty(0x16, VT_I4, propVal);
- }
-
- LPDISPATCH _DGTList::GetExtendTipFont()
- {
- LPDISPATCH result;
- GetProperty(0x17, VT_DISPATCH, (void*)&result);
- return result;
- }
-
- void _DGTList::SetExtendTipFont(LPDISPATCH propVal)
- {
- SetProperty(0x17, VT_DISPATCH, propVal);
- }
-
- unsigned long _DGTList::GetExtendTipForeColor()
- {
- unsigned long result;
- GetProperty(0x18, VT_I4, (void*)&result);
- return result;
- }
-
- void _DGTList::SetExtendTipForeColor(unsigned long propVal)
- {
- SetProperty(0x18, VT_I4, propVal);
- }
-
- long _DGTList::GetExtendTipTimeout()
- {
- long result;
- GetProperty(0x19, VT_I4, (void*)&result);
- return result;
- }
-
- void _DGTList::SetExtendTipTimeout(long propVal)
- {
- SetProperty(0x19, VT_I4, propVal);
- }
-
- long _DGTList::GetTopIndex()
- {
- long result;
- GetProperty(0x1a, VT_I4, (void*)&result);
- return result;
- }
-
- void _DGTList::SetTopIndex(long propVal)
- {
- SetProperty(0x1a, VT_I4, propVal);
- }
-
- long _DGTList::GetVertScrollBar()
- {
- long result;
- GetProperty(0x1b, VT_I4, (void*)&result);
- return result;
- }
-
- void _DGTList::SetVertScrollBar(long propVal)
- {
- SetProperty(0x1b, VT_I4, propVal);
- }
-
- unsigned long _DGTList::GetDefColCaptionBackColor()
- {
- unsigned long result;
- GetProperty(0x1c, VT_I4, (void*)&result);
- return result;
- }
-
- void _DGTList::SetDefColCaptionBackColor(unsigned long propVal)
- {
- SetProperty(0x1c, VT_I4, propVal);
- }
-
- long _DGTList::GetDefColCaptionFont3D()
- {
- long result;
- GetProperty(0x1d, VT_I4, (void*)&result);
- return result;
- }
-
- void _DGTList::SetDefColCaptionFont3D(long propVal)
- {
- SetProperty(0x1d, VT_I4, propVal);
- }
-
- LPDISPATCH _DGTList::GetDefColCaptionFont()
- {
- LPDISPATCH result;
- GetProperty(0x1e, VT_DISPATCH, (void*)&result);
- return result;
- }
-
- void _DGTList::SetDefColCaptionFont(LPDISPATCH propVal)
- {
- SetProperty(0x1e, VT_DISPATCH, propVal);
- }
-
- long _DGTList::GetDefColCaptionPictureAlignment()
- {
- long result;
- GetProperty(0x1f, VT_I4, (void*)&result);
- return result;
- }
-
- void _DGTList::SetDefColCaptionPictureAlignment(long propVal)
- {
- SetProperty(0x1f, VT_I4, propVal);
- }
-
- unsigned long _DGTList::GetDefColCaptionForeColor()
- {
- unsigned long result;
- GetProperty(0x20, VT_I4, (void*)&result);
- return result;
- }
-
- void _DGTList::SetDefColCaptionForeColor(unsigned long propVal)
- {
- SetProperty(0x20, VT_I4, propVal);
- }
-
- float _DGTList::GetDefColumnWidth()
- {
- float result;
- GetProperty(0x21, VT_R4, (void*)&result);
- return result;
- }
-
- void _DGTList::SetDefColumnWidth(float propVal)
- {
- SetProperty(0x21, VT_R4, propVal);
- }
-
- long _DGTList::GetDefColCaptionBorderStyle()
- {
- long result;
- GetProperty(0x22, VT_I4, (void*)&result);
- return result;
- }
-
- void _DGTList::SetDefColCaptionBorderStyle(long propVal)
- {
- SetProperty(0x22, VT_I4, propVal);
- }
-
- float _DGTList::GetDefRowHeight()
- {
- float result;
- GetProperty(0x23, VT_R4, (void*)&result);
- return result;
- }
-
- void _DGTList::SetDefRowHeight(float propVal)
- {
- SetProperty(0x23, VT_R4, propVal);
- }
-
- float _DGTList::GetColumnHeaderHeight()
- {
- float result;
- GetProperty(0x24, VT_R4, (void*)&result);
- return result;
- }
-
- void _DGTList::SetColumnHeaderHeight(float propVal)
- {
- SetProperty(0x24, VT_R4, propVal);
- }
-
- unsigned long _DGTList::GetDefBackColor()
- {
- unsigned long result;
- GetProperty(0x25, VT_I4, (void*)&result);
- return result;
- }
-
- void _DGTList::SetDefBackColor(unsigned long propVal)
- {
- SetProperty(0x25, VT_I4, propVal);
- }
-
- LPDISPATCH _DGTList::GetDefFont()
- {
- LPDISPATCH result;
- GetProperty(0x26, VT_DISPATCH, (void*)&result);
- return result;
- }
-
- void _DGTList::SetDefFont(LPDISPATCH propVal)
- {
- SetProperty(0x26, VT_DISPATCH, propVal);
- }
-
- long _DGTList::GetDefFont3D()
- {
- long result;
- GetProperty(0x27, VT_I4, (void*)&result);
- return result;
- }
-
- void _DGTList::SetDefFont3D(long propVal)
- {
- SetProperty(0x27, VT_I4, propVal);
- }
-
- unsigned long _DGTList::GetDefForeColor()
- {
- unsigned long result;
- GetProperty(0x28, VT_I4, (void*)&result);
- return result;
- }
-
- void _DGTList::SetDefForeColor(unsigned long propVal)
- {
- SetProperty(0x28, VT_I4, propVal);
- }
-
- long _DGTList::GetDefPictureAlignment()
- {
- long result;
- GetProperty(0x29, VT_I4, (void*)&result);
- return result;
- }
-
- void _DGTList::SetDefPictureAlignment(long propVal)
- {
- SetProperty(0x29, VT_I4, propVal);
- }
-
- long _DGTList::GetDefTextAlignment()
- {
- long result;
- GetProperty(0x2a, VT_I4, (void*)&result);
- return result;
- }
-
- void _DGTList::SetDefTextAlignment(long propVal)
- {
- SetProperty(0x2a, VT_I4, propVal);
- }
-
- LPUNKNOWN _DGTList::GetDataSource()
- {
- LPUNKNOWN result;
- GetProperty(0x1, VT_UNKNOWN, (void*)&result);
- return result;
- }
-
- void _DGTList::SetDataSource(LPUNKNOWN propVal)
- {
- SetProperty(0x1, VT_UNKNOWN, propVal);
- }
-
- long _DGTList::GetAppearance()
- {
- long result;
- GetProperty(0x2b, VT_I4, (void*)&result);
- return result;
- }
-
- void _DGTList::SetAppearance(long propVal)
- {
- SetProperty(0x2b, VT_I4, propVal);
- }
-
- BOOL _DGTList::GetCalcRowCountOnLoad()
- {
- BOOL result;
- GetProperty(0x2c, VT_BOOL, (void*)&result);
- return result;
- }
-
- void _DGTList::SetCalcRowCountOnLoad(BOOL propVal)
- {
- SetProperty(0x2c, VT_BOOL, propVal);
- }
-
- unsigned long _DGTList::GetGridLineColor()
- {
- unsigned long result;
- GetProperty(0x2d, VT_I4, (void*)&result);
- return result;
- }
-
- void _DGTList::SetGridLineColor(unsigned long propVal)
- {
- SetProperty(0x2d, VT_I4, propVal);
- }
-
- long _DGTList::GetGridLineType()
- {
- long result;
- GetProperty(0x2e, VT_I4, (void*)&result);
- return result;
- }
-
- void _DGTList::SetGridLineType(long propVal)
- {
- SetProperty(0x2e, VT_I4, propVal);
- }
-
- long _DGTList::GetGridLineStyle()
- {
- long result;
- GetProperty(0x2f, VT_I4, (void*)&result);
- return result;
- }
-
- void _DGTList::SetGridLineStyle(long propVal)
- {
- SetProperty(0x2f, VT_I4, propVal);
- }
-
- long _DGTList::GetBorderStyle()
- {
- long result;
- GetProperty(0x30, VT_I4, (void*)&result);
- return result;
- }
-
- void _DGTList::SetBorderStyle(long propVal)
- {
- SetProperty(0x30, VT_I4, propVal);
- }
-
- short _DGTList::GetSubRows()
- {
- short result;
- GetProperty(0x31, VT_I2, (void*)&result);
- return result;
- }
-
- void _DGTList::SetSubRows(short propVal)
- {
- SetProperty(0x31, VT_I2, propVal);
- }
-
- unsigned long _DGTList::GetDefForeColorOdd()
- {
- unsigned long result;
- GetProperty(0x32, VT_I4, (void*)&result);
- return result;
- }
-
- void _DGTList::SetDefForeColorOdd(unsigned long propVal)
- {
- SetProperty(0x32, VT_I4, propVal);
- }
-
- unsigned long _DGTList::GetDefBackColorOdd()
- {
- unsigned long result;
- GetProperty(0x33, VT_I4, (void*)&result);
- return result;
- }
-
- void _DGTList::SetDefBackColorOdd(unsigned long propVal)
- {
- SetProperty(0x33, VT_I4, propVal);
- }
-
- CString _DGTList::Get_Text()
- {
- CString result;
- GetProperty(0x0, VT_BSTR, (void*)&result);
- return result;
- }
-
- void _DGTList::Set_Text(LPCTSTR propVal)
- {
- SetProperty(0x0, VT_BSTR, propVal);
- }
-
- BOOL _DGTList::GetSubRowsStatic()
- {
- BOOL result;
- GetProperty(0x34, VT_BOOL, (void*)&result);
- return result;
- }
-
- void _DGTList::SetSubRowsStatic(BOOL propVal)
- {
- SetProperty(0x34, VT_BOOL, propVal);
- }
-
- BOOL _DGTList::GetColumnResizeElastic()
- {
- BOOL result;
- GetProperty(0x35, VT_BOOL, (void*)&result);
- return result;
- }
-
- void _DGTList::SetColumnResizeElastic(BOOL propVal)
- {
- SetProperty(0x35, VT_BOOL, propVal);
- }
-
- short _DGTList::GetSortKey2()
- {
- short result;
- GetProperty(0x36, VT_I2, (void*)&result);
- return result;
- }
-
- void _DGTList::SetSortKey2(short propVal)
- {
- SetProperty(0x36, VT_I2, propVal);
- }
-
- short _DGTList::GetSortKey3()
- {
- short result;
- GetProperty(0x37, VT_I2, (void*)&result);
- return result;
- }
-
- void _DGTList::SetSortKey3(short propVal)
- {
- SetProperty(0x37, VT_I2, propVal);
- }
-
- BOOL _DGTList::GetScrollTips()
- {
- BOOL result;
- GetProperty(0x38, VT_BOOL, (void*)&result);
- return result;
- }
-
- void _DGTList::SetScrollTips(BOOL propVal)
- {
- SetProperty(0x38, VT_BOOL, propVal);
- }
-
- BOOL _DGTList::GetExtendTips()
- {
- BOOL result;
- GetProperty(0x39, VT_BOOL, (void*)&result);
- return result;
- }
-
- void _DGTList::SetExtendTips(BOOL propVal)
- {
- SetProperty(0x39, VT_BOOL, propVal);
- }
-
- long _DGTList::GetDefWordWrap()
- {
- long result;
- GetProperty(0x3a, VT_I4, (void*)&result);
- return result;
- }
-
- void _DGTList::SetDefWordWrap(long propVal)
- {
- SetProperty(0x3a, VT_I4, propVal);
- }
-
- long _DGTList::GetDefColCaptionTextAlignment()
- {
- long result;
- GetProperty(0x3b, VT_I4, (void*)&result);
- return result;
- }
-
- void _DGTList::SetDefColCaptionTextAlignment(long propVal)
- {
- SetProperty(0x3b, VT_I4, propVal);
- }
-
- long _DGTList::GetDefColCaptionWordWrap()
- {
- long result;
- GetProperty(0x3c, VT_I4, (void*)&result);
- return result;
- }
-
- void _DGTList::SetDefColCaptionWordWrap(long propVal)
- {
- SetProperty(0x3c, VT_I4, propVal);
- }
-
- BOOL _DGTList::GetVirtual()
- {
- BOOL result;
- GetProperty(0x3d, VT_BOOL, (void*)&result);
- return result;
- }
-
- void _DGTList::SetVirtual(BOOL propVal)
- {
- SetProperty(0x3d, VT_BOOL, propVal);
- }
-
- long _DGTList::GetVirtualItemCount()
- {
- long result;
- GetProperty(0x3e, VT_I4, (void*)&result);
- return result;
- }
-
- void _DGTList::SetVirtualItemCount(long propVal)
- {
- SetProperty(0x3e, VT_I4, propVal);
- }
-
- long _DGTList::GetSortOrder2()
- {
- long result;
- GetProperty(0x3f, VT_I4, (void*)&result);
- return result;
- }
-
- void _DGTList::SetSortOrder2(long propVal)
- {
- SetProperty(0x3f, VT_I4, propVal);
- }
-
- long _DGTList::GetSortOrder3()
- {
- long result;
- GetProperty(0x40, VT_I4, (void*)&result);
- return result;
- }
-
- void _DGTList::SetSortOrder3(long propVal)
- {
- SetProperty(0x40, VT_I4, propVal);
- }
-
- BOOL _DGTList::GetAllowColumnSortClick()
- {
- BOOL result;
- GetProperty(0x41, VT_BOOL, (void*)&result);
- return result;
- }
-
- void _DGTList::SetAllowColumnSortClick(BOOL propVal)
- {
- SetProperty(0x41, VT_BOOL, propVal);
- }
-
- long _DGTList::GetListIndex()
- {
- long result;
- GetProperty(0x43, VT_I4, (void*)&result);
- return result;
- }
-
- void _DGTList::SetListIndex(long propVal)
- {
- SetProperty(0x43, VT_I4, propVal);
- }
-
- unsigned long _DGTList::GetMaskColor()
- {
- unsigned long result;
- GetProperty(0x44, VT_I4, (void*)&result);
- return result;
- }
-
- void _DGTList::SetMaskColor(unsigned long propVal)
- {
- SetProperty(0x44, VT_I4, propVal);
- }
-
- BOOL _DGTList::GetMaskColorEnabled()
- {
- BOOL result;
- GetProperty(0x45, VT_BOOL, (void*)&result);
- return result;
- }
-
- void _DGTList::SetMaskColorEnabled(BOOL propVal)
- {
- SetProperty(0x45, VT_BOOL, propVal);
- }
-
- long _DGTList::GetDynamicCols()
- {
- long result;
- GetProperty(0x46, VT_I4, (void*)&result);
- return result;
- }
-
- void _DGTList::SetDynamicCols(long propVal)
- {
- SetProperty(0x46, VT_I4, propVal);
- }
-
- long _DGTList::GetHorzScrollBar()
- {
- long result;
- GetProperty(0x47, VT_I4, (void*)&result);
- return result;
- }
-
- void _DGTList::SetHorzScrollBar(long propVal)
- {
- SetProperty(0x47, VT_I4, propVal);
- }
-
- BOOL _DGTList::GetColumnCaptions()
- {
- BOOL result;
- GetProperty(0x48, VT_BOOL, (void*)&result);
- return result;
- }
-
- void _DGTList::SetColumnCaptions(BOOL propVal)
- {
- SetProperty(0x48, VT_BOOL, propVal);
- }
-
- LPDISPATCH _DGTList::GetMouseIcon()
- {
- LPDISPATCH result;
- GetProperty(0x49, VT_DISPATCH, (void*)&result);
- return result;
- }
-
- void _DGTList::SetMouseIcon(LPDISPATCH propVal)
- {
- SetProperty(0x49, VT_DISPATCH, propVal);
- }
-
- long _DGTList::GetMousePointer()
- {
- long result;
- GetProperty(0x4a, VT_I4, (void*)&result);
- return result;
- }
-
- void _DGTList::SetMousePointer(long propVal)
- {
- SetProperty(0x4a, VT_I4, propVal);
- }
-
- VARIANT _DGTList::GetBookmark()
- {
- VARIANT result;
- GetProperty(0x4b, VT_VARIANT, (void*)&result);
- return result;
- }
-
- void _DGTList::SetBookmark(const VARIANT& propVal)
- {
- SetProperty(0x4b, VT_VARIANT, &propVal);
- }
-
- VARIANT _DGTList::GetTopBookmark()
- {
- VARIANT result;
- GetProperty(0x4c, VT_VARIANT, (void*)&result);
- return result;
- }
-
- void _DGTList::SetTopBookmark(const VARIANT& propVal)
- {
- SetProperty(0x4c, VT_VARIANT, &propVal);
- }
-
- unsigned long _DGTList::GetSelectedBackColor()
- {
- unsigned long result;
- GetProperty(0x4d, VT_I4, (void*)&result);
- return result;
- }
-
- void _DGTList::SetSelectedBackColor(unsigned long propVal)
- {
- SetProperty(0x4d, VT_I4, propVal);
- }
-
- unsigned long _DGTList::GetSelectedForeColor()
- {
- unsigned long result;
- GetProperty(0x4e, VT_I4, (void*)&result);
- return result;
- }
-
- void _DGTList::SetSelectedForeColor(unsigned long propVal)
- {
- SetProperty(0x4e, VT_I4, propVal);
- }
-
- /////////////////////////////////////////////////////////////////////////////
- // _DGTList operations
-
- BOOL _DGTList::GetSelected(long Index)
- {
- BOOL result;
- static BYTE parms[] =
- VTS_I4;
- InvokeHelper(0x55, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, parms,
- Index);
- return result;
- }
-
- void _DGTList::SetSelected(long Index, BOOL bNewValue)
- {
- static BYTE parms[] =
- VTS_I4 VTS_BOOL;
- InvokeHelper(0x55, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
- Index, bNewValue);
- }
-
- long _DGTList::GetItemData(long Index)
- {
- long result;
- static BYTE parms[] =
- VTS_I4;
- InvokeHelper(0x56, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, parms,
- Index);
- return result;
- }
-
- void _DGTList::SetItemData(long Index, long nNewValue)
- {
- static BYTE parms[] =
- VTS_I4 VTS_I4;
- InvokeHelper(0x56, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
- Index, nNewValue);
- }
-
- LPDISPATCH _DGTList::GetListItems(const VARIANT& Index)
- {
- LPDISPATCH result;
- static BYTE parms[] =
- VTS_VARIANT;
- InvokeHelper(0x57, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, parms,
- &Index);
- return result;
- }
-
- void _DGTList::SetListItems(const VARIANT& Index, LPDISPATCH newValue)
- {
- static BYTE parms[] =
- VTS_VARIANT VTS_DISPATCH;
- InvokeHelper(0x57, DISPATCH_PROPERTYPUTREF, VT_EMPTY, NULL, parms,
- &Index, newValue);
- }
-
- LPDISPATCH _DGTList::GetColumnDefs(const VARIANT& Index)
- {
- LPDISPATCH result;
- static BYTE parms[] =
- VTS_VARIANT;
- InvokeHelper(0x58, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, parms,
- &Index);
- return result;
- }
-
- void _DGTList::SetColumnDefs(const VARIANT& Index, LPDISPATCH newValue)
- {
- static BYTE parms[] =
- VTS_VARIANT VTS_DISPATCH;
- InvokeHelper(0x58, DISPATCH_PROPERTYPUTREF, VT_EMPTY, NULL, parms,
- &Index, newValue);
- }
-
- LPDISPATCH _DGTList::GetListImages(const VARIANT& Index)
- {
- LPDISPATCH result;
- static BYTE parms[] =
- VTS_VARIANT;
- InvokeHelper(0x59, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, parms,
- &Index);
- return result;
- }
-
- void _DGTList::SetListImages(const VARIANT& Index, LPDISPATCH newValue)
- {
- static BYTE parms[] =
- VTS_VARIANT VTS_DISPATCH;
- InvokeHelper(0x59, DISPATCH_PROPERTYPUTREF, VT_EMPTY, NULL, parms,
- &Index, newValue);
- }
-
- void _DGTList::Clear()
- {
- InvokeHelper(0x4f, DISPATCH_METHOD, VT_EMPTY, NULL, NULL);
- }
-
- void _DGTList::Refresh()
- {
- InvokeHelper(DISPID_REFRESH, DISPATCH_METHOD, VT_EMPTY, NULL, NULL);
- }
-
- void _DGTList::RemoveItem(long Index)
- {
- static BYTE parms[] =
- VTS_I4;
- InvokeHelper(0x50, DISPATCH_METHOD, VT_EMPTY, NULL, parms,
- Index);
- }
-
- void _DGTList::AddItem(LPCTSTR Item, const VARIANT& Index)
- {
- static BYTE parms[] =
- VTS_BSTR VTS_VARIANT;
- InvokeHelper(0x51, DISPATCH_METHOD, VT_EMPTY, NULL, parms,
- Item, &Index);
- }
-
- void _DGTList::ClearCache()
- {
- InvokeHelper(0x52, DISPATCH_METHOD, VT_EMPTY, NULL, NULL);
- }
-
- short _DGTList::GetLeftColumn(const VARIANT& SubRow)
- {
- short result;
- static BYTE parms[] =
- VTS_VARIANT;
- InvokeHelper(0x5a, DISPATCH_PROPERTYGET, VT_I2, (void*)&result, parms,
- &SubRow);
- return result;
- }
-
- void _DGTList::SetLeftColumn(const VARIANT& SubRow, short nNewValue)
- {
- static BYTE parms[] =
- VTS_VARIANT VTS_I2;
- InvokeHelper(0x5a, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
- &SubRow, nNewValue);
- }
-
- short _DGTList::HitTest(float x, float y)
- {
- short result;
- static BYTE parms[] =
- VTS_R4 VTS_R4;
- InvokeHelper(0x53, DISPATCH_METHOD, VT_I2, (void*)&result, parms,
- x, y);
- return result;
- }
-
- short _DGTList::HitTestItem(float x, float y, LPDISPATCH* ListItem, LPDISPATCH* SubItem)
- {
- short result;
- static BYTE parms[] =
- VTS_R4 VTS_R4 VTS_PDISPATCH VTS_PDISPATCH;
- InvokeHelper(0x54, DISPATCH_METHOD, VT_I2, (void*)&result, parms,
- x, y, ListItem, SubItem);
- return result;
- }
-
- VARIANT _DGTList::GetSelBookmarks(long Index)
- {
- VARIANT result;
- static BYTE parms[] =
- VTS_I4;
- InvokeHelper(0x5b, DISPATCH_PROPERTYGET, VT_VARIANT, (void*)&result, parms,
- Index);
- return result;
- }
-
- void _DGTList::SetSelBookmarks(long Index, const VARIANT& newValue)
- {
- static BYTE parms[] =
- VTS_I4 VTS_VARIANT;
- InvokeHelper(0x5b, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
- Index, &newValue);
- }
-
- long _DGTList::GetSelIndices(long Index)
- {
- long result;
- static BYTE parms[] =
- VTS_I4;
- InvokeHelper(0x5c, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, parms,
- Index);
- return result;
- }
-
- void _DGTList::SetSelIndices(long Index, long nNewValue)
- {
- static BYTE parms[] =
- VTS_I4 VTS_I4;
- InvokeHelper(0x5c, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
- Index, nNewValue);
- }
-
- void _DGTList::AboutBox()
- {
- InvokeHelper(0xfffffdd8, DISPATCH_METHOD, VT_EMPTY, NULL, NULL);
- }
-
-
- /////////////////////////////////////////////////////////////////////////////
- // _DGTCombo properties
-
- BOOL _DGTCombo::GetAllowColumnDragDrop()
- {
- BOOL result;
- GetProperty(0x2, VT_BOOL, (void*)&result);
- return result;
- }
-
- void _DGTCombo::SetAllowColumnDragDrop(BOOL propVal)
- {
- SetProperty(0x2, VT_BOOL, propVal);
- }
-
- OLE_COLOR _DGTCombo::GetBackColor()
- {
- OLE_COLOR result;
- GetProperty(DISPID_BACKCOLOR, VT_I4, (void*)&result);
- return result;
- }
-
- void _DGTCombo::SetBackColor(OLE_COLOR propVal)
- {
- SetProperty(DISPID_BACKCOLOR, VT_I4, propVal);
- }
-
- BOOL _DGTCombo::GetEnabled()
- {
- BOOL result;
- GetProperty(DISPID_ENABLED, VT_BOOL, (void*)&result);
- return result;
- }
-
- void _DGTCombo::SetEnabled(BOOL propVal)
- {
- SetProperty(DISPID_ENABLED, VT_BOOL, propVal);
- }
-
- OLE_HANDLE _DGTCombo::GetHWnd()
- {
- OLE_HANDLE result;
- GetProperty(DISPID_HWND, VT_I4, (void*)&result);
- return result;
- }
-
- void _DGTCombo::SetHWnd(OLE_HANDLE propVal)
- {
- SetProperty(DISPID_HWND, VT_I4, propVal);
- }
-
- CString _DGTCombo::GetText()
- {
- CString result;
- GetProperty(DISPID_TEXT, VT_BSTR, (void*)&result);
- return result;
- }
-
- void _DGTCombo::SetText(LPCTSTR propVal)
- {
- SetProperty(DISPID_TEXT, VT_BSTR, propVal);
- }
-
- BOOL _DGTCombo::GetAllowColumnResize()
- {
- BOOL result;
- GetProperty(0x3, VT_BOOL, (void*)&result);
- return result;
- }
-
- void _DGTCombo::SetAllowColumnResize(BOOL propVal)
- {
- SetProperty(0x3, VT_BOOL, propVal);
- }
-
- BOOL _DGTCombo::GetHideSelection()
- {
- BOOL result;
- GetProperty(0x4, VT_BOOL, (void*)&result);
- return result;
- }
-
- void _DGTCombo::SetHideSelection(BOOL propVal)
- {
- SetProperty(0x4, VT_BOOL, propVal);
- }
-
- CString _DGTCombo::GetImageList()
- {
- CString result;
- GetProperty(0x5, VT_BSTR, (void*)&result);
- return result;
- }
-
- void _DGTCombo::SetImageList(LPCTSTR propVal)
- {
- SetProperty(0x5, VT_BSTR, propVal);
- }
-
- long _DGTCombo::GetListCount()
- {
- long result;
- GetProperty(0x6, VT_I4, (void*)&result);
- return result;
- }
-
- void _DGTCombo::SetListCount(long propVal)
- {
- SetProperty(0x6, VT_I4, propVal);
- }
-
- long _DGTCombo::GetNewIndex()
- {
- long result;
- GetProperty(0x7, VT_I4, (void*)&result);
- return result;
- }
-
- void _DGTCombo::SetNewIndex(long propVal)
- {
- SetProperty(0x7, VT_I4, propVal);
- }
-
- LPDISPATCH _DGTCombo::GetPicture()
- {
- LPDISPATCH result;
- GetProperty(0x8, VT_DISPATCH, (void*)&result);
- return result;
- }
-
- void _DGTCombo::SetPicture(LPDISPATCH propVal)
- {
- SetProperty(0x8, VT_DISPATCH, propVal);
- }
-
- long _DGTCombo::GetPictureAlignment()
- {
- long result;
- GetProperty(0x9, VT_I4, (void*)&result);
- return result;
- }
-
- void _DGTCombo::SetPictureAlignment(long propVal)
- {
- SetProperty(0x9, VT_I4, propVal);
- }
-
- unsigned long _DGTCombo::GetScrollTipBackColor()
- {
- unsigned long result;
- GetProperty(0xa, VT_I4, (void*)&result);
- return result;
- }
-
- void _DGTCombo::SetScrollTipBackColor(unsigned long propVal)
- {
- SetProperty(0xa, VT_I4, propVal);
- }
-
- CString _DGTCombo::GetScrollTipDataField()
- {
- CString result;
- GetProperty(0xb, VT_BSTR, (void*)&result);
- return result;
- }
-
- void _DGTCombo::SetScrollTipDataField(LPCTSTR propVal)
- {
- SetProperty(0xb, VT_BSTR, propVal);
- }
-
- LPDISPATCH _DGTCombo::GetScrollTipFont()
- {
- LPDISPATCH result;
- GetProperty(0xc, VT_DISPATCH, (void*)&result);
- return result;
- }
-
- void _DGTCombo::SetScrollTipFont(LPDISPATCH propVal)
- {
- SetProperty(0xc, VT_DISPATCH, propVal);
- }
-
- unsigned long _DGTCombo::GetScrollTipForeColor()
- {
- unsigned long result;
- GetProperty(0xd, VT_I4, (void*)&result);
- return result;
- }
-
- void _DGTCombo::SetScrollTipForeColor(unsigned long propVal)
- {
- SetProperty(0xd, VT_I4, propVal);
- }
-
- long _DGTCombo::GetSelCount()
- {
- long result;
- GetProperty(0xe, VT_I4, (void*)&result);
- return result;
- }
-
- void _DGTCombo::SetSelCount(long propVal)
- {
- SetProperty(0xe, VT_I4, propVal);
- }
-
- LPDISPATCH _DGTCombo::GetSelectedItem()
- {
- LPDISPATCH result;
- GetProperty(0xf, VT_DISPATCH, (void*)&result);
- return result;
- }
-
- void _DGTCombo::SetSelectedItem(LPDISPATCH propVal)
- {
- SetProperty(0xf, VT_DISPATCH, propVal);
- }
-
- BOOL _DGTCombo::GetSorted()
- {
- BOOL result;
- GetProperty(0x10, VT_BOOL, (void*)&result);
- return result;
- }
-
- void _DGTCombo::SetSorted(BOOL propVal)
- {
- SetProperty(0x10, VT_BOOL, propVal);
- }
-
- short _DGTCombo::GetSortKey()
- {
- short result;
- GetProperty(0x11, VT_I2, (void*)&result);
- return result;
- }
-
- void _DGTCombo::SetSortKey(short propVal)
- {
- SetProperty(0x11, VT_I2, propVal);
- }
-
- long _DGTCombo::GetSortOrder()
- {
- long result;
- GetProperty(0x12, VT_I4, (void*)&result);
- return result;
- }
-
- void _DGTCombo::SetSortOrder(long propVal)
- {
- SetProperty(0x12, VT_I4, propVal);
- }
-
- VARIANT _DGTCombo::GetTagVariant()
- {
- VARIANT result;
- GetProperty(0x13, VT_VARIANT, (void*)&result);
- return result;
- }
-
- void _DGTCombo::SetTagVariant(const VARIANT& propVal)
- {
- SetProperty(0x13, VT_VARIANT, &propVal);
- }
-
- unsigned long _DGTCombo::GetExtendTipBackColor()
- {
- unsigned long result;
- GetProperty(0x14, VT_I4, (void*)&result);
- return result;
- }
-
- void _DGTCombo::SetExtendTipBackColor(unsigned long propVal)
- {
- SetProperty(0x14, VT_I4, propVal);
- }
-
- CString _DGTCombo::GetExtendTipDataField()
- {
- CString result;
- GetProperty(0x15, VT_BSTR, (void*)&result);
- return result;
- }
-
- void _DGTCombo::SetExtendTipDataField(LPCTSTR propVal)
- {
- SetProperty(0x15, VT_BSTR, propVal);
- }
-
- long _DGTCombo::GetExtendTipDelay()
- {
- long result;
- GetProperty(0x16, VT_I4, (void*)&result);
- return result;
- }
-
- void _DGTCombo::SetExtendTipDelay(long propVal)
- {
- SetProperty(0x16, VT_I4, propVal);
- }
-
- LPDISPATCH _DGTCombo::GetExtendTipFont()
- {
- LPDISPATCH result;
- GetProperty(0x17, VT_DISPATCH, (void*)&result);
- return result;
- }
-
- void _DGTCombo::SetExtendTipFont(LPDISPATCH propVal)
- {
- SetProperty(0x17, VT_DISPATCH, propVal);
- }
-
- unsigned long _DGTCombo::GetExtendTipForeColor()
- {
- unsigned long result;
- GetProperty(0x18, VT_I4, (void*)&result);
- return result;
- }
-
- void _DGTCombo::SetExtendTipForeColor(unsigned long propVal)
- {
- SetProperty(0x18, VT_I4, propVal);
- }
-
- long _DGTCombo::GetExtendTipTimeout()
- {
- long result;
- GetProperty(0x19, VT_I4, (void*)&result);
- return result;
- }
-
- void _DGTCombo::SetExtendTipTimeout(long propVal)
- {
- SetProperty(0x19, VT_I4, propVal);
- }
-
- long _DGTCombo::GetTopIndex()
- {
- long result;
- GetProperty(0x1a, VT_I4, (void*)&result);
- return result;
- }
-
- void _DGTCombo::SetTopIndex(long propVal)
- {
- SetProperty(0x1a, VT_I4, propVal);
- }
-
- long _DGTCombo::GetVertScrollBar()
- {
- long result;
- GetProperty(0x1b, VT_I4, (void*)&result);
- return result;
- }
-
- void _DGTCombo::SetVertScrollBar(long propVal)
- {
- SetProperty(0x1b, VT_I4, propVal);
- }
-
- long _DGTCombo::GetComboStyle()
- {
- long result;
- GetProperty(0x1c, VT_I4, (void*)&result);
- return result;
- }
-
- void _DGTCombo::SetComboStyle(long propVal)
- {
- SetProperty(0x1c, VT_I4, propVal);
- }
-
- short _DGTCombo::GetSelLength()
- {
- short result;
- GetProperty(0x1d, VT_I2, (void*)&result);
- return result;
- }
-
- void _DGTCombo::SetSelLength(short propVal)
- {
- SetProperty(0x1d, VT_I2, propVal);
- }
-
- short _DGTCombo::GetSelStart()
- {
- short result;
- GetProperty(0x1e, VT_I2, (void*)&result);
- return result;
- }
-
- void _DGTCombo::SetSelStart(short propVal)
- {
- SetProperty(0x1e, VT_I2, propVal);
- }
-
- CString _DGTCombo::GetSelText()
- {
- CString result;
- GetProperty(0x1f, VT_BSTR, (void*)&result);
- return result;
- }
-
- void _DGTCombo::SetSelText(LPCTSTR propVal)
- {
- SetProperty(0x1f, VT_BSTR, propVal);
- }
-
- short _DGTCombo::GetMinDropDownItems()
- {
- short result;
- GetProperty(0x20, VT_I2, (void*)&result);
- return result;
- }
-
- void _DGTCombo::SetMinDropDownItems(short propVal)
- {
- SetProperty(0x20, VT_I2, propVal);
- }
-
- short _DGTCombo::GetMaxDropDownItems()
- {
- short result;
- GetProperty(0x21, VT_I2, (void*)&result);
- return result;
- }
-
- void _DGTCombo::SetMaxDropDownItems(short propVal)
- {
- SetProperty(0x21, VT_I2, propVal);
- }
-
- unsigned long _DGTCombo::GetDefColCaptionBackColor()
- {
- unsigned long result;
- GetProperty(0x22, VT_I4, (void*)&result);
- return result;
- }
-
- void _DGTCombo::SetDefColCaptionBackColor(unsigned long propVal)
- {
- SetProperty(0x22, VT_I4, propVal);
- }
-
- long _DGTCombo::GetDefColCaptionFont3D()
- {
- long result;
- GetProperty(0x23, VT_I4, (void*)&result);
- return result;
- }
-
- void _DGTCombo::SetDefColCaptionFont3D(long propVal)
- {
- SetProperty(0x23, VT_I4, propVal);
- }
-
- LPDISPATCH _DGTCombo::GetDefColCaptionFont()
- {
- LPDISPATCH result;
- GetProperty(0x24, VT_DISPATCH, (void*)&result);
- return result;
- }
-
- void _DGTCombo::SetDefColCaptionFont(LPDISPATCH propVal)
- {
- SetProperty(0x24, VT_DISPATCH, propVal);
- }
-
- unsigned long _DGTCombo::GetDefColCaptionForeColor()
- {
- unsigned long result;
- GetProperty(0x25, VT_I4, (void*)&result);
- return result;
- }
-
- void _DGTCombo::SetDefColCaptionForeColor(unsigned long propVal)
- {
- SetProperty(0x25, VT_I4, propVal);
- }
-
- long _DGTCombo::GetDefColCaptionPictureAlignment()
- {
- long result;
- GetProperty(0x26, VT_I4, (void*)&result);
- return result;
- }
-
- void _DGTCombo::SetDefColCaptionPictureAlignment(long propVal)
- {
- SetProperty(0x26, VT_I4, propVal);
- }
-
- long _DGTCombo::GetDefColCaptionTextAlignment()
- {
- long result;
- GetProperty(0x27, VT_I4, (void*)&result);
- return result;
- }
-
- void _DGTCombo::SetDefColCaptionTextAlignment(long propVal)
- {
- SetProperty(0x27, VT_I4, propVal);
- }
-
- float _DGTCombo::GetDefColumnWidth()
- {
- float result;
- GetProperty(0x28, VT_R4, (void*)&result);
- return result;
- }
-
- void _DGTCombo::SetDefColumnWidth(float propVal)
- {
- SetProperty(0x28, VT_R4, propVal);
- }
-
- long _DGTCombo::GetDefColCaptionBorderStyle()
- {
- long result;
- GetProperty(0x29, VT_I4, (void*)&result);
- return result;
- }
-
- void _DGTCombo::SetDefColCaptionBorderStyle(long propVal)
- {
- SetProperty(0x29, VT_I4, propVal);
- }
-
- float _DGTCombo::GetDefRowHeight()
- {
- float result;
- GetProperty(0x2a, VT_R4, (void*)&result);
- return result;
- }
-
- void _DGTCombo::SetDefRowHeight(float propVal)
- {
- SetProperty(0x2a, VT_R4, propVal);
- }
-
- float _DGTCombo::GetColumnHeaderHeight()
- {
- float result;
- GetProperty(0x2b, VT_R4, (void*)&result);
- return result;
- }
-
- void _DGTCombo::SetColumnHeaderHeight(float propVal)
- {
- SetProperty(0x2b, VT_R4, propVal);
- }
-
- float _DGTCombo::GetDropDownWidth()
- {
- float result;
- GetProperty(0x2c, VT_R4, (void*)&result);
- return result;
- }
-
- void _DGTCombo::SetDropDownWidth(float propVal)
- {
- SetProperty(0x2c, VT_R4, propVal);
- }
-
- unsigned long _DGTCombo::GetDefBackColor()
- {
- unsigned long result;
- GetProperty(0x2d, VT_I4, (void*)&result);
- return result;
- }
-
- void _DGTCombo::SetDefBackColor(unsigned long propVal)
- {
- SetProperty(0x2d, VT_I4, propVal);
- }
-
- LPDISPATCH _DGTCombo::GetDefFont()
- {
- LPDISPATCH result;
- GetProperty(0x2e, VT_DISPATCH, (void*)&result);
- return result;
- }
-
- void _DGTCombo::SetDefFont(LPDISPATCH propVal)
- {
- SetProperty(0x2e, VT_DISPATCH, propVal);
- }
-
- short _DGTCombo::GetDefFont3D()
- {
- short result;
- GetProperty(0x2f, VT_I2, (void*)&result);
- return result;
- }
-
- void _DGTCombo::SetDefFont3D(short propVal)
- {
- SetProperty(0x2f, VT_I2, propVal);
- }
-
- unsigned long _DGTCombo::GetDefForeColor()
- {
- unsigned long result;
- GetProperty(0x30, VT_I4, (void*)&result);
- return result;
- }
-
- void _DGTCombo::SetDefForeColor(unsigned long propVal)
- {
- SetProperty(0x30, VT_I4, propVal);
- }
-
- long _DGTCombo::GetDefPictureAlignment()
- {
- long result;
- GetProperty(0x31, VT_I4, (void*)&result);
- return result;
- }
-
- void _DGTCombo::SetDefPictureAlignment(long propVal)
- {
- SetProperty(0x31, VT_I4, propVal);
- }
-
- short _DGTCombo::GetDefTextAlignment()
- {
- short result;
- GetProperty(0x32, VT_I2, (void*)&result);
- return result;
- }
-
- void _DGTCombo::SetDefTextAlignment(short propVal)
- {
- SetProperty(0x32, VT_I2, propVal);
- }
-
- LPFONTDISP _DGTCombo::GetFont()
- {
- LPFONTDISP result;
- GetProperty(DISPID_FONT, VT_DISPATCH, (void*)&result);
- return result;
- }
-
- void _DGTCombo::SetFont(LPFONTDISP propVal)
- {
- SetProperty(DISPID_FONT, VT_DISPATCH, propVal);
- }
-
- long _DGTCombo::GetAppearance()
- {
- long result;
- GetProperty(0x33, VT_I4, (void*)&result);
- return result;
- }
-
- void _DGTCombo::SetAppearance(long propVal)
- {
- SetProperty(0x33, VT_I4, propVal);
- }
-
- BOOL _DGTCombo::GetCalcRowCountOnLoad()
- {
- BOOL result;
- GetProperty(0x34, VT_BOOL, (void*)&result);
- return result;
- }
-
- void _DGTCombo::SetCalcRowCountOnLoad(BOOL propVal)
- {
- SetProperty(0x34, VT_BOOL, propVal);
- }
-
- long _DGTCombo::GetGridLineType()
- {
- long result;
- GetProperty(0x35, VT_I4, (void*)&result);
- return result;
- }
-
- void _DGTCombo::SetGridLineType(long propVal)
- {
- SetProperty(0x35, VT_I4, propVal);
- }
-
- long _DGTCombo::GetGridLineStyle()
- {
- long result;
- GetProperty(0x36, VT_I4, (void*)&result);
- return result;
- }
-
- void _DGTCombo::SetGridLineStyle(long propVal)
- {
- SetProperty(0x36, VT_I4, propVal);
- }
-
- unsigned long _DGTCombo::GetGridLineColor()
- {
- unsigned long result;
- GetProperty(0x37, VT_I4, (void*)&result);
- return result;
- }
-
- void _DGTCombo::SetGridLineColor(unsigned long propVal)
- {
- SetProperty(0x37, VT_I4, propVal);
- }
-
- long _DGTCombo::GetBorderStyle()
- {
- long result;
- GetProperty(0x38, VT_I4, (void*)&result);
- return result;
- }
-
- void _DGTCombo::SetBorderStyle(long propVal)
- {
- SetProperty(0x38, VT_I4, propVal);
- }
-
- CString _DGTCombo::Get_Text()
- {
- CString result;
- GetProperty(0x0, VT_BSTR, (void*)&result);
- return result;
- }
-
- void _DGTCombo::Set_Text(LPCTSTR propVal)
- {
- SetProperty(0x0, VT_BSTR, propVal);
- }
-
- OLE_COLOR _DGTCombo::GetForeColor()
- {
- OLE_COLOR result;
- GetProperty(DISPID_FORECOLOR, VT_I4, (void*)&result);
- return result;
- }
-
- void _DGTCombo::SetForeColor(OLE_COLOR propVal)
- {
- SetProperty(DISPID_FORECOLOR, VT_I4, propVal);
- }
-
- short _DGTCombo::GetSubRows()
- {
- short result;
- GetProperty(0x39, VT_I2, (void*)&result);
- return result;
- }
-
- void _DGTCombo::SetSubRows(short propVal)
- {
- SetProperty(0x39, VT_I2, propVal);
- }
-
- unsigned long _DGTCombo::GetDefBackColorOdd()
- {
- unsigned long result;
- GetProperty(0x3a, VT_I4, (void*)&result);
- return result;
- }
-
- void _DGTCombo::SetDefBackColorOdd(unsigned long propVal)
- {
- SetProperty(0x3a, VT_I4, propVal);
- }
-
- unsigned long _DGTCombo::GetDefForeColorOdd()
- {
- unsigned long result;
- GetProperty(0x3b, VT_I4, (void*)&result);
- return result;
- }
-
- void _DGTCombo::SetDefForeColorOdd(unsigned long propVal)
- {
- SetProperty(0x3b, VT_I4, propVal);
- }
-
- BOOL _DGTCombo::GetSubRowsStatic()
- {
- BOOL result;
- GetProperty(0x3c, VT_BOOL, (void*)&result);
- return result;
- }
-
- void _DGTCombo::SetSubRowsStatic(BOOL propVal)
- {
- SetProperty(0x3c, VT_BOOL, propVal);
- }
-
- BOOL _DGTCombo::GetColumnResizeElastic()
- {
- BOOL result;
- GetProperty(0x3d, VT_BOOL, (void*)&result);
- return result;
- }
-
- void _DGTCombo::SetColumnResizeElastic(BOOL propVal)
- {
- SetProperty(0x3d, VT_BOOL, propVal);
- }
-
- CString _DGTCombo::GetDataFieldDisplay()
- {
- CString result;
- GetProperty(0x3e, VT_BSTR, (void*)&result);
- return result;
- }
-
- void _DGTCombo::SetDataFieldDisplay(LPCTSTR propVal)
- {
- SetProperty(0x3e, VT_BSTR, propVal);
- }
-
- CString _DGTCombo::GetDataFieldList()
- {
- CString result;
- GetProperty(0x3f, VT_BSTR, (void*)&result);
- return result;
- }
-
- void _DGTCombo::SetDataFieldList(LPCTSTR propVal)
- {
- SetProperty(0x3f, VT_BSTR, propVal);
- }
-
- CString _DGTCombo::GetDisplayText()
- {
- CString result;
- GetProperty(0x40, VT_BSTR, (void*)&result);
- return result;
- }
-
- void _DGTCombo::SetDisplayText(LPCTSTR propVal)
- {
- SetProperty(0x40, VT_BSTR, propVal);
- }
-
- long _DGTCombo::GetDefColCaptionWordWrap()
- {
- long result;
- GetProperty(0x41, VT_I4, (void*)&result);
- return result;
- }
-
- void _DGTCombo::SetDefColCaptionWordWrap(long propVal)
- {
- SetProperty(0x41, VT_I4, propVal);
- }
-
- long _DGTCombo::GetDefWordWrap()
- {
- long result;
- GetProperty(0x42, VT_I4, (void*)&result);
- return result;
- }
-
- void _DGTCombo::SetDefWordWrap(long propVal)
- {
- SetProperty(0x42, VT_I4, propVal);
- }
-
- BOOL _DGTCombo::GetVirtual()
- {
- BOOL result;
- GetProperty(0x43, VT_BOOL, (void*)&result);
- return result;
- }
-
- void _DGTCombo::SetVirtual(BOOL propVal)
- {
- SetProperty(0x43, VT_BOOL, propVal);
- }
-
- long _DGTCombo::GetVirtualItemCount()
- {
- long result;
- GetProperty(0x44, VT_I4, (void*)&result);
- return result;
- }
-
- void _DGTCombo::SetVirtualItemCount(long propVal)
- {
- SetProperty(0x44, VT_I4, propVal);
- }
-
- long _DGTCombo::GetSortOrder2()
- {
- long result;
- GetProperty(0x45, VT_I4, (void*)&result);
- return result;
- }
-
- void _DGTCombo::SetSortOrder2(long propVal)
- {
- SetProperty(0x45, VT_I4, propVal);
- }
-
- long _DGTCombo::GetSortOrder3()
- {
- long result;
- GetProperty(0x46, VT_I4, (void*)&result);
- return result;
- }
-
- void _DGTCombo::SetSortOrder3(long propVal)
- {
- SetProperty(0x46, VT_I4, propVal);
- }
-
- BOOL _DGTCombo::GetAllowColumnSortClick()
- {
- BOOL result;
- GetProperty(0x47, VT_BOOL, (void*)&result);
- return result;
- }
-
- void _DGTCombo::SetAllowColumnSortClick(BOOL propVal)
- {
- SetProperty(0x47, VT_BOOL, propVal);
- }
-
- BOOL _DGTCombo::GetAutoPositionList()
- {
- BOOL result;
- GetProperty(0x48, VT_BOOL, (void*)&result);
- return result;
- }
-
- void _DGTCombo::SetAutoPositionList(BOOL propVal)
- {
- SetProperty(0x48, VT_BOOL, propVal);
- }
-
- long _DGTCombo::GetListIndex()
- {
- long result;
- GetProperty(0x49, VT_I4, (void*)&result);
- return result;
- }
-
- void _DGTCombo::SetListIndex(long propVal)
- {
- SetProperty(0x49, VT_I4, propVal);
- }
-
- unsigned long _DGTCombo::GetMaskColor()
- {
- unsigned long result;
- GetProperty(0x4a, VT_I4, (void*)&result);
- return result;
- }
-
- void _DGTCombo::SetMaskColor(unsigned long propVal)
- {
- SetProperty(0x4a, VT_I4, propVal);
- }
-
- BOOL _DGTCombo::GetMaskColorEnabled()
- {
- BOOL result;
- GetProperty(0x4b, VT_BOOL, (void*)&result);
- return result;
- }
-
- void _DGTCombo::SetMaskColorEnabled(BOOL propVal)
- {
- SetProperty(0x4b, VT_BOOL, propVal);
- }
-
- long _DGTCombo::GetDynamicCols()
- {
- long result;
- GetProperty(0x4c, VT_I4, (void*)&result);
- return result;
- }
-
- void _DGTCombo::SetDynamicCols(long propVal)
- {
- SetProperty(0x4c, VT_I4, propVal);
- }
-
- short _DGTCombo::GetSortKey2()
- {
- short result;
- GetProperty(0x4d, VT_I2, (void*)&result);
- return result;
- }
-
- void _DGTCombo::SetSortKey2(short propVal)
- {
- SetProperty(0x4d, VT_I2, propVal);
- }
-
- short _DGTCombo::GetSortKey3()
- {
- short result;
- GetProperty(0x4e, VT_I2, (void*)&result);
- return result;
- }
-
- void _DGTCombo::SetSortKey3(short propVal)
- {
- SetProperty(0x4e, VT_I2, propVal);
- }
-
- long _DGTCombo::GetHorzScrollBar()
- {
- long result;
- GetProperty(0x4f, VT_I4, (void*)&result);
- return result;
- }
-
- void _DGTCombo::SetHorzScrollBar(long propVal)
- {
- SetProperty(0x4f, VT_I4, propVal);
- }
-
- BOOL _DGTCombo::GetScrollTips()
- {
- BOOL result;
- GetProperty(0x50, VT_BOOL, (void*)&result);
- return result;
- }
-
- void _DGTCombo::SetScrollTips(BOOL propVal)
- {
- SetProperty(0x50, VT_BOOL, propVal);
- }
-
- BOOL _DGTCombo::GetExtendTips()
- {
- BOOL result;
- GetProperty(0x51, VT_BOOL, (void*)&result);
- return result;
- }
-
- void _DGTCombo::SetExtendTips(BOOL propVal)
- {
- SetProperty(0x51, VT_BOOL, propVal);
- }
-
- BOOL _DGTCombo::GetColumnCaptions()
- {
- BOOL result;
- GetProperty(0x52, VT_BOOL, (void*)&result);
- return result;
- }
-
- void _DGTCombo::SetColumnCaptions(BOOL propVal)
- {
- SetProperty(0x52, VT_BOOL, propVal);
- }
-
- LPDISPATCH _DGTCombo::GetMouseIcon()
- {
- LPDISPATCH result;
- GetProperty(0x53, VT_DISPATCH, (void*)&result);
- return result;
- }
-
- void _DGTCombo::SetMouseIcon(LPDISPATCH propVal)
- {
- SetProperty(0x53, VT_DISPATCH, propVal);
- }
-
- long _DGTCombo::GetMousePointer()
- {
- long result;
- GetProperty(0x54, VT_I4, (void*)&result);
- return result;
- }
-
- void _DGTCombo::SetMousePointer(long propVal)
- {
- SetProperty(0x54, VT_I4, propVal);
- }
-
- LPUNKNOWN _DGTCombo::GetDataSourceList()
- {
- LPUNKNOWN result;
- GetProperty(0x1, VT_UNKNOWN, (void*)&result);
- return result;
- }
-
- void _DGTCombo::SetDataSourceList(LPUNKNOWN propVal)
- {
- SetProperty(0x1, VT_UNKNOWN, propVal);
- }
-
- VARIANT _DGTCombo::GetBookmark()
- {
- VARIANT result;
- GetProperty(0x55, VT_VARIANT, (void*)&result);
- return result;
- }
-
- void _DGTCombo::SetBookmark(const VARIANT& propVal)
- {
- SetProperty(0x55, VT_VARIANT, &propVal);
- }
-
- VARIANT _DGTCombo::GetTopBookmark()
- {
- VARIANT result;
- GetProperty(0x56, VT_VARIANT, (void*)&result);
- return result;
- }
-
- void _DGTCombo::SetTopBookmark(const VARIANT& propVal)
- {
- SetProperty(0x56, VT_VARIANT, &propVal);
- }
-
- unsigned long _DGTCombo::GetSelectedBackColor()
- {
- unsigned long result;
- GetProperty(0x57, VT_I4, (void*)&result);
- return result;
- }
-
- void _DGTCombo::SetSelectedBackColor(unsigned long propVal)
- {
- SetProperty(0x57, VT_I4, propVal);
- }
-
- unsigned long _DGTCombo::GetSelectedForeColor()
- {
- unsigned long result;
- GetProperty(0x58, VT_I4, (void*)&result);
- return result;
- }
-
- void _DGTCombo::SetSelectedForeColor(unsigned long propVal)
- {
- SetProperty(0x58, VT_I4, propVal);
- }
-
- /////////////////////////////////////////////////////////////////////////////
- // _DGTCombo operations
-
- long _DGTCombo::GetItemData(long Index)
- {
- long result;
- static BYTE parms[] =
- VTS_I4;
- InvokeHelper(0x5f, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, parms,
- Index);
- return result;
- }
-
- void _DGTCombo::SetItemData(long Index, long nNewValue)
- {
- static BYTE parms[] =
- VTS_I4 VTS_I4;
- InvokeHelper(0x5f, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
- Index, nNewValue);
- }
-
- BOOL _DGTCombo::GetSelected(long Index)
- {
- BOOL result;
- static BYTE parms[] =
- VTS_I4;
- InvokeHelper(0x60, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, parms,
- Index);
- return result;
- }
-
- void _DGTCombo::SetSelected(long Index, BOOL bNewValue)
- {
- static BYTE parms[] =
- VTS_I4 VTS_BOOL;
- InvokeHelper(0x60, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
- Index, bNewValue);
- }
-
- LPDISPATCH _DGTCombo::GetListItems(const VARIANT& Index)
- {
- LPDISPATCH result;
- static BYTE parms[] =
- VTS_VARIANT;
- InvokeHelper(0x61, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, parms,
- &Index);
- return result;
- }
-
- void _DGTCombo::SetListItems(const VARIANT& Index, LPDISPATCH newValue)
- {
- static BYTE parms[] =
- VTS_VARIANT VTS_DISPATCH;
- InvokeHelper(0x61, DISPATCH_PROPERTYPUTREF, VT_EMPTY, NULL, parms,
- &Index, newValue);
- }
-
- LPDISPATCH _DGTCombo::GetColumnDefs(const VARIANT& Index)
- {
- LPDISPATCH result;
- static BYTE parms[] =
- VTS_VARIANT;
- InvokeHelper(0x62, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, parms,
- &Index);
- return result;
- }
-
- void _DGTCombo::SetColumnDefs(const VARIANT& Index, LPDISPATCH newValue)
- {
- static BYTE parms[] =
- VTS_VARIANT VTS_DISPATCH;
- InvokeHelper(0x62, DISPATCH_PROPERTYPUTREF, VT_EMPTY, NULL, parms,
- &Index, newValue);
- }
-
- LPDISPATCH _DGTCombo::GetListImages(const VARIANT& Index)
- {
- LPDISPATCH result;
- static BYTE parms[] =
- VTS_VARIANT;
- InvokeHelper(0x63, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, parms,
- &Index);
- return result;
- }
-
- void _DGTCombo::SetListImages(const VARIANT& Index, LPDISPATCH newValue)
- {
- static BYTE parms[] =
- VTS_VARIANT VTS_DISPATCH;
- InvokeHelper(0x63, DISPATCH_PROPERTYPUTREF, VT_EMPTY, NULL, parms,
- &Index, newValue);
- }
-
- void _DGTCombo::Clear()
- {
- InvokeHelper(0x59, DISPATCH_METHOD, VT_EMPTY, NULL, NULL);
- }
-
- void _DGTCombo::Refresh()
- {
- InvokeHelper(DISPID_REFRESH, DISPATCH_METHOD, VT_EMPTY, NULL, NULL);
- }
-
- void _DGTCombo::RemoveItem(long Index)
- {
- static BYTE parms[] =
- VTS_I4;
- InvokeHelper(0x5a, DISPATCH_METHOD, VT_EMPTY, NULL, parms,
- Index);
- }
-
- void _DGTCombo::AddItem(LPCTSTR Item, const VARIANT& Index)
- {
- static BYTE parms[] =
- VTS_BSTR VTS_VARIANT;
- InvokeHelper(0x5b, DISPATCH_METHOD, VT_EMPTY, NULL, parms,
- Item, &Index);
- }
-
- void _DGTCombo::ClearCache()
- {
- InvokeHelper(0x5c, DISPATCH_METHOD, VT_EMPTY, NULL, NULL);
- }
-
- short _DGTCombo::GetLeftColumn(const VARIANT& SubRow)
- {
- short result;
- static BYTE parms[] =
- VTS_VARIANT;
- InvokeHelper(0x64, DISPATCH_PROPERTYGET, VT_I2, (void*)&result, parms,
- &SubRow);
- return result;
- }
-
- void _DGTCombo::SetLeftColumn(const VARIANT& SubRow, short nNewValue)
- {
- static BYTE parms[] =
- VTS_VARIANT VTS_I2;
- InvokeHelper(0x64, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
- &SubRow, nNewValue);
- }
-
- short _DGTCombo::HitTest(float x, float y)
- {
- short result;
- static BYTE parms[] =
- VTS_R4 VTS_R4;
- InvokeHelper(0x5d, DISPATCH_METHOD, VT_I2, (void*)&result, parms,
- x, y);
- return result;
- }
-
- short _DGTCombo::HitTestItem(float x, float y, LPDISPATCH* ListItem, LPDISPATCH* SubItem)
- {
- short result;
- static BYTE parms[] =
- VTS_R4 VTS_R4 VTS_PDISPATCH VTS_PDISPATCH;
- InvokeHelper(0x5e, DISPATCH_METHOD, VT_I2, (void*)&result, parms,
- x, y, ListItem, SubItem);
- return result;
- }
-
- void _DGTCombo::AboutBox()
- {
- InvokeHelper(0xfffffdd8, DISPATCH_METHOD, VT_EMPTY, NULL, NULL);
- }
-
-
- /////////////////////////////////////////////////////////////////////////////
- // _DGTComboEvents properties
-
- /////////////////////////////////////////////////////////////////////////////
- // _DGTComboEvents operations
-
- void _DGTComboEvents::KeyDown(short* KeyCode, short Shift)
- {
- static BYTE parms[] =
- VTS_PI2 VTS_I2;
- InvokeHelper(DISPID_KEYDOWN, DISPATCH_METHOD, VT_EMPTY, NULL, parms,
- KeyCode, Shift);
- }
-
- void _DGTComboEvents::KeyPress(short* KeyAscii)
- {
- static BYTE parms[] =
- VTS_PI2;
- InvokeHelper(DISPID_KEYPRESS, DISPATCH_METHOD, VT_EMPTY, NULL, parms,
- KeyAscii);
- }
-
- void _DGTComboEvents::KeyUp(short* KeyCode, short Shift)
- {
- static BYTE parms[] =
- VTS_PI2 VTS_I2;
- InvokeHelper(DISPID_KEYUP, DISPATCH_METHOD, VT_EMPTY, NULL, parms,
- KeyCode, Shift);
- }
-
- void _DGTComboEvents::ListItemSelected(LPDISPATCH ListItem, BSTR* Text)
- {
- static BYTE parms[] =
- VTS_DISPATCH VTS_PBSTR;
- InvokeHelper(0x1, DISPATCH_METHOD, VT_EMPTY, NULL, parms,
- ListItem, Text);
- }
-
- void _DGTComboEvents::MouseDown(short Button, short Shift, long x, long y)
- {
- static BYTE parms[] =
- VTS_I2 VTS_I2 VTS_I4 VTS_I4;
- InvokeHelper(DISPID_MOUSEDOWN, DISPATCH_METHOD, VT_EMPTY, NULL, parms,
- Button, Shift, x, y);
- }
-
- void _DGTComboEvents::MouseMove(short Button, short Shift, long x, long y)
- {
- static BYTE parms[] =
- VTS_I2 VTS_I2 VTS_I4 VTS_I4;
- InvokeHelper(DISPID_MOUSEMOVE, DISPATCH_METHOD, VT_EMPTY, NULL, parms,
- Button, Shift, x, y);
- }
-
- void _DGTComboEvents::MouseUp(short Button, short Shift, long x, long y)
- {
- static BYTE parms[] =
- VTS_I2 VTS_I2 VTS_I4 VTS_I4;
- InvokeHelper(DISPID_MOUSEUP, DISPATCH_METHOD, VT_EMPTY, NULL, parms,
- Button, Shift, x, y);
- }
-
- void _DGTComboEvents::Click()
- {
- InvokeHelper(DISPID_CLICK, DISPATCH_METHOD, VT_EMPTY, NULL, NULL);
- }
-
- void _DGTComboEvents::DblClick()
- {
- InvokeHelper(DISPID_DBLCLICK, DISPATCH_METHOD, VT_EMPTY, NULL, NULL);
- }
-
- void _DGTComboEvents::ListItemDataRequest(LPDISPATCH* ListItem, long Index)
- {
- static BYTE parms[] =
- VTS_PDISPATCH VTS_I4;
- InvokeHelper(0x2, DISPATCH_METHOD, VT_EMPTY, NULL, parms,
- ListItem, Index);
- }
-
- void _DGTComboEvents::ExtendTipEnd()
- {
- InvokeHelper(0x3, DISPATCH_METHOD, VT_EMPTY, NULL, NULL);
- }
-
- void _DGTComboEvents::ScrollTipEnd()
- {
- InvokeHelper(0x4, DISPATCH_METHOD, VT_EMPTY, NULL, NULL);
- }
-
- void _DGTComboEvents::ExtendTipBegin(BOOL* Cancel)
- {
- static BYTE parms[] =
- VTS_PBOOL;
- InvokeHelper(0x5, DISPATCH_METHOD, VT_EMPTY, NULL, parms,
- Cancel);
- }
-
- void _DGTComboEvents::ScrollTipBegin(BOOL* Cancel)
- {
- static BYTE parms[] =
- VTS_PBOOL;
- InvokeHelper(0x6, DISPATCH_METHOD, VT_EMPTY, NULL, parms,
- Cancel);
- }
-
- void _DGTComboEvents::ClickColumn(LPDISPATCH* ColumnDef)
- {
- static BYTE parms[] =
- VTS_PDISPATCH;
- InvokeHelper(0x7, DISPATCH_METHOD, VT_EMPTY, NULL, parms,
- ColumnDef);
- }
-
- void _DGTComboEvents::ClickItem(LPDISPATCH* ListItem, LPDISPATCH* SubItem)
- {
- static BYTE parms[] =
- VTS_PDISPATCH VTS_PDISPATCH;
- InvokeHelper(0x8, DISPATCH_METHOD, VT_EMPTY, NULL, parms,
- ListItem, SubItem);
- }
-
- void _DGTComboEvents::ColumnAfterMove(LPDISPATCH ColumnDef)
- {
- static BYTE parms[] =
- VTS_DISPATCH;
- InvokeHelper(0x9, DISPATCH_METHOD, VT_EMPTY, NULL, parms,
- ColumnDef);
- }
-
- void _DGTComboEvents::ColumnBeforeMove(LPDISPATCH ColumnDef, BOOL* Cancel)
- {
- static BYTE parms[] =
- VTS_DISPATCH VTS_PBOOL;
- InvokeHelper(0xa, DISPATCH_METHOD, VT_EMPTY, NULL, parms,
- ColumnDef, Cancel);
- }
-
- void _DGTComboEvents::DropDown()
- {
- InvokeHelper(0xb, DISPATCH_METHOD, VT_EMPTY, NULL, NULL);
- }
-
- void _DGTComboEvents::PositionList()
- {
- InvokeHelper(0xc, DISPATCH_METHOD, VT_EMPTY, NULL, NULL);
- }
-
- void _DGTComboEvents::ColumnResize(LPDISPATCH* ColumnDef, BOOL* Cancel)
- {
- static BYTE parms[] =
- VTS_PDISPATCH VTS_PBOOL;
- InvokeHelper(0xd, DISPATCH_METHOD, VT_EMPTY, NULL, parms,
- ColumnDef, Cancel);
- }
-
- void _DGTComboEvents::HorzScroll()
- {
- InvokeHelper(0xe, DISPATCH_METHOD, VT_EMPTY, NULL, NULL);
- }
-
- void _DGTComboEvents::VertScroll()
- {
- InvokeHelper(0xf, DISPATCH_METHOD, VT_EMPTY, NULL, NULL);
- }
-
- void _DGTComboEvents::Change()
- {
- InvokeHelper(0x10, DISPATCH_METHOD, VT_EMPTY, NULL, NULL);
- }
-
-
- /////////////////////////////////////////////////////////////////////////////
- // _DSubItem properties
-
- long _DSubItem::GetTextAlignment()
- {
- long result;
- GetProperty(0x1, VT_I4, (void*)&result);
- return result;
- }
-
- void _DSubItem::SetTextAlignment(long propVal)
- {
- SetProperty(0x1, VT_I4, propVal);
- }
-
- unsigned long _DSubItem::GetBackColor()
- {
- unsigned long result;
- GetProperty(0x2, VT_I4, (void*)&result);
- return result;
- }
-
- void _DSubItem::SetBackColor(unsigned long propVal)
- {
- SetProperty(0x2, VT_I4, propVal);
- }
-
- unsigned long _DSubItem::GetForeColor()
- {
- unsigned long result;
- GetProperty(0x3, VT_I4, (void*)&result);
- return result;
- }
-
- void _DSubItem::SetForeColor(unsigned long propVal)
- {
- SetProperty(0x3, VT_I4, propVal);
- }
-
- LPDISPATCH _DSubItem::GetFont()
- {
- LPDISPATCH result;
- GetProperty(0x4, VT_DISPATCH, (void*)&result);
- return result;
- }
-
- void _DSubItem::SetFont(LPDISPATCH propVal)
- {
- SetProperty(0x4, VT_DISPATCH, propVal);
- }
-
- long _DSubItem::GetFont3D()
- {
- long result;
- GetProperty(0x5, VT_I4, (void*)&result);
- return result;
- }
-
- void _DSubItem::SetFont3D(long propVal)
- {
- SetProperty(0x5, VT_I4, propVal);
- }
-
- short _DSubItem::GetImage()
- {
- short result;
- GetProperty(0x6, VT_I2, (void*)&result);
- return result;
- }
-
- void _DSubItem::SetImage(short propVal)
- {
- SetProperty(0x6, VT_I2, propVal);
- }
-
- long _DSubItem::GetPictureAlignment()
- {
- long result;
- GetProperty(0x7, VT_I4, (void*)&result);
- return result;
- }
-
- void _DSubItem::SetPictureAlignment(long propVal)
- {
- SetProperty(0x7, VT_I4, propVal);
- }
-
- CString _DSubItem::GetText()
- {
- CString result;
- GetProperty(0x8, VT_BSTR, (void*)&result);
- return result;
- }
-
- void _DSubItem::SetText(LPCTSTR propVal)
- {
- SetProperty(0x8, VT_BSTR, propVal);
- }
-
- CString _DSubItem::GetKey()
- {
- CString result;
- GetProperty(0x9, VT_BSTR, (void*)&result);
- return result;
- }
-
- void _DSubItem::SetKey(LPCTSTR propVal)
- {
- SetProperty(0x9, VT_BSTR, propVal);
- }
-
- long _DSubItem::GetIndex()
- {
- long result;
- GetProperty(0xa, VT_I4, (void*)&result);
- return result;
- }
-
- void _DSubItem::SetIndex(long propVal)
- {
- SetProperty(0xa, VT_I4, propVal);
- }
-
- float _DSubItem::GetHeight()
- {
- float result;
- GetProperty(0xb, VT_R4, (void*)&result);
- return result;
- }
-
- void _DSubItem::SetHeight(float propVal)
- {
- SetProperty(0xb, VT_R4, propVal);
- }
-
- float _DSubItem::GetWidth()
- {
- float result;
- GetProperty(0xc, VT_R4, (void*)&result);
- return result;
- }
-
- void _DSubItem::SetWidth(float propVal)
- {
- SetProperty(0xc, VT_R4, propVal);
- }
-
- short _DSubItem::GetSelectedImage()
- {
- short result;
- GetProperty(0xd, VT_I2, (void*)&result);
- return result;
- }
-
- void _DSubItem::SetSelectedImage(short propVal)
- {
- SetProperty(0xd, VT_I2, propVal);
- }
-
- short _DSubItem::GetWordWrap()
- {
- short result;
- GetProperty(0xe, VT_I2, (void*)&result);
- return result;
- }
-
- void _DSubItem::SetWordWrap(short propVal)
- {
- SetProperty(0xe, VT_I2, propVal);
- }
-
- CString _DSubItem::GetFormat()
- {
- CString result;
- GetProperty(0xf, VT_BSTR, (void*)&result);
- return result;
- }
-
- void _DSubItem::SetFormat(LPCTSTR propVal)
- {
- SetProperty(0xf, VT_BSTR, propVal);
- }
-
- CString _DSubItem::Get_Text()
- {
- CString result;
- GetProperty(0x0, VT_BSTR, (void*)&result);
- return result;
- }
-
- void _DSubItem::Set_Text(LPCTSTR propVal)
- {
- SetProperty(0x0, VT_BSTR, propVal);
- }
-
- /////////////////////////////////////////////////////////////////////////////
- // _DSubItem operations
-
-
- /////////////////////////////////////////////////////////////////////////////
- // _DColumnDef properties
-
- unsigned long _DColumnDef::GetBackColor()
- {
- unsigned long result;
- GetProperty(0x1, VT_I4, (void*)&result);
- return result;
- }
-
- void _DColumnDef::SetBackColor(unsigned long propVal)
- {
- SetProperty(0x1, VT_I4, propVal);
- }
-
- CString _DColumnDef::GetCaption()
- {
- CString result;
- GetProperty(0x2, VT_BSTR, (void*)&result);
- return result;
- }
-
- void _DColumnDef::SetCaption(LPCTSTR propVal)
- {
- SetProperty(0x2, VT_BSTR, propVal);
- }
-
- short _DColumnDef::GetCaptionTextAlignment()
- {
- short result;
- GetProperty(0x3, VT_I2, (void*)&result);
- return result;
- }
-
- void _DColumnDef::SetCaptionTextAlignment(short propVal)
- {
- SetProperty(0x3, VT_I2, propVal);
- }
-
- unsigned long _DColumnDef::GetCaptionBackColor()
- {
- unsigned long result;
- GetProperty(0x4, VT_I4, (void*)&result);
- return result;
- }
-
- void _DColumnDef::SetCaptionBackColor(unsigned long propVal)
- {
- SetProperty(0x4, VT_I4, propVal);
- }
-
- long _DColumnDef::GetCaptionBorderStyle()
- {
- long result;
- GetProperty(0x5, VT_I4, (void*)&result);
- return result;
- }
-
- void _DColumnDef::SetCaptionBorderStyle(long propVal)
- {
- SetProperty(0x5, VT_I4, propVal);
- }
-
- LPDISPATCH _DColumnDef::GetCaptionFont()
- {
- LPDISPATCH result;
- GetProperty(0x6, VT_DISPATCH, (void*)&result);
- return result;
- }
-
- void _DColumnDef::SetCaptionFont(LPDISPATCH propVal)
- {
- SetProperty(0x6, VT_DISPATCH, propVal);
- }
-
- long _DColumnDef::GetCaptionFont3D()
- {
- long result;
- GetProperty(0x7, VT_I4, (void*)&result);
- return result;
- }
-
- void _DColumnDef::SetCaptionFont3D(long propVal)
- {
- SetProperty(0x7, VT_I4, propVal);
- }
-
- unsigned long _DColumnDef::GetCaptionForeColor()
- {
- unsigned long result;
- GetProperty(0x8, VT_I4, (void*)&result);
- return result;
- }
-
- void _DColumnDef::SetCaptionForeColor(unsigned long propVal)
- {
- SetProperty(0x8, VT_I4, propVal);
- }
-
- short _DColumnDef::GetCaptionImage()
- {
- short result;
- GetProperty(0x9, VT_I2, (void*)&result);
- return result;
- }
-
- void _DColumnDef::SetCaptionImage(short propVal)
- {
- SetProperty(0x9, VT_I2, propVal);
- }
-
- long _DColumnDef::GetCaptionPictureAlignment()
- {
- long result;
- GetProperty(0xa, VT_I4, (void*)&result);
- return result;
- }
-
- void _DColumnDef::SetCaptionPictureAlignment(long propVal)
- {
- SetProperty(0xa, VT_I4, propVal);
- }
-
- CString _DColumnDef::GetDataField()
- {
- CString result;
- GetProperty(0xb, VT_BSTR, (void*)&result);
- return result;
- }
-
- void _DColumnDef::SetDataField(LPCTSTR propVal)
- {
- SetProperty(0xb, VT_BSTR, propVal);
- }
-
- LPDISPATCH _DColumnDef::GetFont()
- {
- LPDISPATCH result;
- GetProperty(0xc, VT_DISPATCH, (void*)&result);
- return result;
- }
-
- void _DColumnDef::SetFont(LPDISPATCH propVal)
- {
- SetProperty(0xc, VT_DISPATCH, propVal);
- }
-
- long _DColumnDef::GetFont3D()
- {
- long result;
- GetProperty(0xd, VT_I4, (void*)&result);
- return result;
- }
-
- void _DColumnDef::SetFont3D(long propVal)
- {
- SetProperty(0xd, VT_I4, propVal);
- }
-
- unsigned long _DColumnDef::GetForeColor()
- {
- unsigned long result;
- GetProperty(0xe, VT_I4, (void*)&result);
- return result;
- }
-
- void _DColumnDef::SetForeColor(unsigned long propVal)
- {
- SetProperty(0xe, VT_I4, propVal);
- }
-
- long _DColumnDef::GetIndex()
- {
- long result;
- GetProperty(0xf, VT_I4, (void*)&result);
- return result;
- }
-
- void _DColumnDef::SetIndex(long propVal)
- {
- SetProperty(0xf, VT_I4, propVal);
- }
-
- CString _DColumnDef::GetKey()
- {
- CString result;
- GetProperty(0x10, VT_BSTR, (void*)&result);
- return result;
- }
-
- void _DColumnDef::SetKey(LPCTSTR propVal)
- {
- SetProperty(0x10, VT_BSTR, propVal);
- }
-
- VARIANT _DColumnDef::GetTagVariant()
- {
- VARIANT result;
- GetProperty(0x11, VT_VARIANT, (void*)&result);
- return result;
- }
-
- void _DColumnDef::SetTagVariant(const VARIANT& propVal)
- {
- SetProperty(0x11, VT_VARIANT, &propVal);
- }
-
- float _DColumnDef::GetWidth()
- {
- float result;
- GetProperty(0x12, VT_R4, (void*)&result);
- return result;
- }
-
- void _DColumnDef::SetWidth(float propVal)
- {
- SetProperty(0x12, VT_R4, propVal);
- }
-
- long _DColumnDef::GetPictureAlignment()
- {
- long result;
- GetProperty(0x13, VT_I4, (void*)&result);
- return result;
- }
-
- void _DColumnDef::SetPictureAlignment(long propVal)
- {
- SetProperty(0x13, VT_I4, propVal);
- }
-
- long _DColumnDef::GetTextAlignment()
- {
- long result;
- GetProperty(0x14, VT_I4, (void*)&result);
- return result;
- }
-
- void _DColumnDef::SetTextAlignment(long propVal)
- {
- SetProperty(0x14, VT_I4, propVal);
- }
-
- float _DColumnDef::GetRowHeight()
- {
- float result;
- GetProperty(0x15, VT_R4, (void*)&result);
- return result;
- }
-
- void _DColumnDef::SetRowHeight(float propVal)
- {
- SetProperty(0x15, VT_R4, propVal);
- }
-
- short _DColumnDef::GetSubItemSource()
- {
- short result;
- GetProperty(0x16, VT_I2, (void*)&result);
- return result;
- }
-
- void _DColumnDef::SetSubItemSource(short propVal)
- {
- SetProperty(0x16, VT_I2, propVal);
- }
-
- short _DColumnDef::GetSubRow()
- {
- short result;
- GetProperty(0x17, VT_I2, (void*)&result);
- return result;
- }
-
- void _DColumnDef::SetSubRow(short propVal)
- {
- SetProperty(0x17, VT_I2, propVal);
- }
-
- short _DColumnDef::GetSubColumn()
- {
- short result;
- GetProperty(0x18, VT_I2, (void*)&result);
- return result;
- }
-
- void _DColumnDef::SetSubColumn(short propVal)
- {
- SetProperty(0x18, VT_I2, propVal);
- }
-
- short _DColumnDef::GetWordWrap()
- {
- short result;
- GetProperty(0x19, VT_I2, (void*)&result);
- return result;
- }
-
- void _DColumnDef::SetWordWrap(short propVal)
- {
- SetProperty(0x19, VT_I2, propVal);
- }
-
- short _DColumnDef::GetCaptionWordWrap()
- {
- short result;
- GetProperty(0x1a, VT_I2, (void*)&result);
- return result;
- }
-
- void _DColumnDef::SetCaptionWordWrap(short propVal)
- {
- SetProperty(0x1a, VT_I2, propVal);
- }
-
- BOOL _DColumnDef::GetVisible()
- {
- BOOL result;
- GetProperty(0x1b, VT_BOOL, (void*)&result);
- return result;
- }
-
- void _DColumnDef::SetVisible(BOOL propVal)
- {
- SetProperty(0x1b, VT_BOOL, propVal);
- }
-
- CString _DColumnDef::GetFormat()
- {
- CString result;
- GetProperty(0x1c, VT_BSTR, (void*)&result);
- return result;
- }
-
- void _DColumnDef::SetFormat(LPCTSTR propVal)
- {
- SetProperty(0x1c, VT_BSTR, propVal);
- }
-
- float _DColumnDef::GetHeight()
- {
- float result;
- GetProperty(0x1d, VT_R4, (void*)&result);
- return result;
- }
-
- void _DColumnDef::SetHeight(float propVal)
- {
- SetProperty(0x1d, VT_R4, propVal);
- }
-
- float _DColumnDef::GetTop()
- {
- float result;
- GetProperty(0x1e, VT_R4, (void*)&result);
- return result;
- }
-
- void _DColumnDef::SetTop(float propVal)
- {
- SetProperty(0x1e, VT_R4, propVal);
- }
-
- float _DColumnDef::GetLeft()
- {
- float result;
- GetProperty(0x1f, VT_R4, (void*)&result);
- return result;
- }
-
- void _DColumnDef::SetLeft(float propVal)
- {
- SetProperty(0x1f, VT_R4, propVal);
- }
-
- CString _DColumnDef::Get_Caption()
- {
- CString result;
- GetProperty(0x0, VT_BSTR, (void*)&result);
- return result;
- }
-
- void _DColumnDef::Set_Caption(LPCTSTR propVal)
- {
- SetProperty(0x0, VT_BSTR, propVal);
- }
-
- /////////////////////////////////////////////////////////////////////////////
- // _DColumnDef operations
-
- void _DColumnDef::MoveTo(short SubColumn, short SubRow)
- {
- static BYTE parms[] =
- VTS_I2 VTS_I2;
- InvokeHelper(0x20, DISPATCH_METHOD, VT_EMPTY, NULL, parms,
- SubColumn, SubRow);
- }
-
-
- /////////////////////////////////////////////////////////////////////////////
- // _DColumnDefs properties
-
- long _DColumnDefs::GetCount()
- {
- long result;
- GetProperty(0x1, VT_I4, (void*)&result);
- return result;
- }
-
- void _DColumnDefs::SetCount(long propVal)
- {
- SetProperty(0x1, VT_I4, propVal);
- }
-
- long _DColumnDefs::GetMemoryUsed()
- {
- long result;
- GetProperty(0x2, VT_I4, (void*)&result);
- return result;
- }
-
- void _DColumnDefs::SetMemoryUsed(long propVal)
- {
- SetProperty(0x2, VT_I4, propVal);
- }
-
- /////////////////////////////////////////////////////////////////////////////
- // _DColumnDefs operations
-
- LPDISPATCH _DColumnDefs::GetItem(const VARIANT& Index)
- {
- LPDISPATCH result;
- static BYTE parms[] =
- VTS_VARIANT;
- InvokeHelper(0x7, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, parms,
- &Index);
- return result;
- }
-
- void _DColumnDefs::SetItem(const VARIANT& Index, LPDISPATCH newValue)
- {
- static BYTE parms[] =
- VTS_VARIANT VTS_DISPATCH;
- InvokeHelper(0x7, DISPATCH_PROPERTYPUTREF, VT_EMPTY, NULL, parms,
- &Index, newValue);
- }
-
- void _DColumnDefs::Clear()
- {
- InvokeHelper(0x3, DISPATCH_METHOD, VT_EMPTY, NULL, NULL);
- }
-
- void _DColumnDefs::Remove(const VARIANT& Index)
- {
- static BYTE parms[] =
- VTS_VARIANT;
- InvokeHelper(0x4, DISPATCH_METHOD, VT_EMPTY, NULL, parms,
- &Index);
- }
-
- LPDISPATCH _DColumnDefs::Add(const VARIANT& Index, const VARIANT& Key, const VARIANT& Caption)
- {
- LPDISPATCH result;
- static BYTE parms[] =
- VTS_VARIANT VTS_VARIANT VTS_VARIANT;
- InvokeHelper(0x6, DISPATCH_METHOD, VT_DISPATCH, (void*)&result, parms,
- &Index, &Key, &Caption);
- return result;
- }
-
- LPUNKNOWN _DColumnDefs::_NewEnum()
- {
- LPUNKNOWN result;
- InvokeHelper(0xfffffffc, DISPATCH_METHOD, VT_UNKNOWN, (void*)&result, NULL);
- return result;
- }
-
-
- /////////////////////////////////////////////////////////////////////////////
- // _DSubItems properties
-
- long _DSubItems::GetCount()
- {
- long result;
- GetProperty(0x1, VT_I4, (void*)&result);
- return result;
- }
-
- void _DSubItems::SetCount(long propVal)
- {
- SetProperty(0x1, VT_I4, propVal);
- }
-
- long _DSubItems::GetMemoryUsed()
- {
- long result;
- GetProperty(0x2, VT_I4, (void*)&result);
- return result;
- }
-
- void _DSubItems::SetMemoryUsed(long propVal)
- {
- SetProperty(0x2, VT_I4, propVal);
- }
-
- /////////////////////////////////////////////////////////////////////////////
- // _DSubItems operations
-
- void _DSubItems::Clear()
- {
- InvokeHelper(0x3, DISPATCH_METHOD, VT_EMPTY, NULL, NULL);
- }
-
- void _DSubItems::Remove(const VARIANT& Index)
- {
- static BYTE parms[] =
- VTS_VARIANT;
- InvokeHelper(0x4, DISPATCH_METHOD, VT_EMPTY, NULL, parms,
- &Index);
- }
-
- LPDISPATCH _DSubItems::Add(const VARIANT& Index, const VARIANT& Key, const VARIANT& Text)
- {
- LPDISPATCH result;
- static BYTE parms[] =
- VTS_VARIANT VTS_VARIANT VTS_VARIANT;
- InvokeHelper(0x5, DISPATCH_METHOD, VT_DISPATCH, (void*)&result, parms,
- &Index, &Key, &Text);
- return result;
- }
-
- LPDISPATCH _DSubItems::GetItem(const VARIANT& Index)
- {
- LPDISPATCH result;
- static BYTE parms[] =
- VTS_VARIANT;
- InvokeHelper(0x6, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, parms,
- &Index);
- return result;
- }
-
- void _DSubItems::SetItem(const VARIANT& Index, LPDISPATCH newValue)
- {
- static BYTE parms[] =
- VTS_VARIANT VTS_DISPATCH;
- InvokeHelper(0x6, DISPATCH_PROPERTYPUTREF, VT_EMPTY, NULL, parms,
- &Index, newValue);
- }
-
- LPUNKNOWN _DSubItems::_NewEnum()
- {
- LPUNKNOWN result;
- InvokeHelper(0xfffffffc, DISPATCH_METHOD, VT_UNKNOWN, (void*)&result, NULL);
- return result;
- }
-
-
- /////////////////////////////////////////////////////////////////////////////
- // _DListItems properties
-
- long _DListItems::GetCount()
- {
- long result;
- GetProperty(0x1, VT_I4, (void*)&result);
- return result;
- }
-
- void _DListItems::SetCount(long propVal)
- {
- SetProperty(0x1, VT_I4, propVal);
- }
-
- long _DListItems::GetMemoryUsed()
- {
- long result;
- GetProperty(0x2, VT_I4, (void*)&result);
- return result;
- }
-
- void _DListItems::SetMemoryUsed(long propVal)
- {
- SetProperty(0x2, VT_I4, propVal);
- }
-
- /////////////////////////////////////////////////////////////////////////////
- // _DListItems operations
-
- LPDISPATCH _DListItems::GetItem(const VARIANT& Index)
- {
- LPDISPATCH result;
- static BYTE parms[] =
- VTS_VARIANT;
- InvokeHelper(0x6, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, parms,
- &Index);
- return result;
- }
-
- void _DListItems::SetItem(const VARIANT& Index, LPDISPATCH newValue)
- {
- static BYTE parms[] =
- VTS_VARIANT VTS_DISPATCH;
- InvokeHelper(0x6, DISPATCH_PROPERTYPUTREF, VT_EMPTY, NULL, parms,
- &Index, newValue);
- }
-
- void _DListItems::Clear()
- {
- InvokeHelper(0x3, DISPATCH_METHOD, VT_EMPTY, NULL, NULL);
- }
-
- void _DListItems::Remove(const VARIANT& Index)
- {
- static BYTE parms[] =
- VTS_VARIANT;
- InvokeHelper(0x4, DISPATCH_METHOD, VT_EMPTY, NULL, parms,
- &Index);
- }
-
- LPDISPATCH _DListItems::Add(const VARIANT& Index, const VARIANT& Key, const VARIANT& Text, const VARIANT& Image, const VARIANT& SelectedImage, const VARIANT& AutoAddSubItems)
- {
- LPDISPATCH result;
- static BYTE parms[] =
- VTS_VARIANT VTS_VARIANT VTS_VARIANT VTS_VARIANT VTS_VARIANT VTS_VARIANT;
- InvokeHelper(0x5, DISPATCH_METHOD, VT_DISPATCH, (void*)&result, parms,
- &Index, &Key, &Text, &Image, &SelectedImage, &AutoAddSubItems);
- return result;
- }
-
- LPUNKNOWN _DListItems::_NewEnum()
- {
- LPUNKNOWN result;
- InvokeHelper(0xfffffffc, DISPATCH_METHOD, VT_UNKNOWN, (void*)&result, NULL);
- return result;
- }
-
-
- /////////////////////////////////////////////////////////////////////////////
- // _DListItem properties
-
- unsigned long _DListItem::GetBackColor()
- {
- unsigned long result;
- GetProperty(0x1, VT_I4, (void*)&result);
- return result;
- }
-
- void _DListItem::SetBackColor(unsigned long propVal)
- {
- SetProperty(0x1, VT_I4, propVal);
- }
-
- long _DListItem::GetTextAlignment()
- {
- long result;
- GetProperty(0x2, VT_I4, (void*)&result);
- return result;
- }
-
- void _DListItem::SetTextAlignment(long propVal)
- {
- SetProperty(0x2, VT_I4, propVal);
- }
-
- LPDISPATCH _DListItem::GetFont()
- {
- LPDISPATCH result;
- GetProperty(0x3, VT_DISPATCH, (void*)&result);
- return result;
- }
-
- void _DListItem::SetFont(LPDISPATCH propVal)
- {
- SetProperty(0x3, VT_DISPATCH, propVal);
- }
-
- long _DListItem::GetFont3D()
- {
- long result;
- GetProperty(0x4, VT_I4, (void*)&result);
- return result;
- }
-
- void _DListItem::SetFont3D(long propVal)
- {
- SetProperty(0x4, VT_I4, propVal);
- }
-
- unsigned long _DListItem::GetForeColor()
- {
- unsigned long result;
- GetProperty(0x5, VT_I4, (void*)&result);
- return result;
- }
-
- void _DListItem::SetForeColor(unsigned long propVal)
- {
- SetProperty(0x5, VT_I4, propVal);
- }
-
- short _DListItem::GetImage()
- {
- short result;
- GetProperty(0x6, VT_I2, (void*)&result);
- return result;
- }
-
- void _DListItem::SetImage(short propVal)
- {
- SetProperty(0x6, VT_I2, propVal);
- }
-
- long _DListItem::GetPictureAlignment()
- {
- long result;
- GetProperty(0x7, VT_I4, (void*)&result);
- return result;
- }
-
- void _DListItem::SetPictureAlignment(long propVal)
- {
- SetProperty(0x7, VT_I4, propVal);
- }
-
- CString _DListItem::GetText()
- {
- CString result;
- GetProperty(0x8, VT_BSTR, (void*)&result);
- return result;
- }
-
- void _DListItem::SetText(LPCTSTR propVal)
- {
- SetProperty(0x8, VT_BSTR, propVal);
- }
-
- float _DListItem::GetHeight()
- {
- float result;
- GetProperty(0x9, VT_R4, (void*)&result);
- return result;
- }
-
- void _DListItem::SetHeight(float propVal)
- {
- SetProperty(0x9, VT_R4, propVal);
- }
-
- long _DListItem::GetIndex()
- {
- long result;
- GetProperty(0xa, VT_I4, (void*)&result);
- return result;
- }
-
- void _DListItem::SetIndex(long propVal)
- {
- SetProperty(0xa, VT_I4, propVal);
- }
-
- long _DListItem::GetItemData()
- {
- long result;
- GetProperty(0xb, VT_I4, (void*)&result);
- return result;
- }
-
- void _DListItem::SetItemData(long propVal)
- {
- SetProperty(0xb, VT_I4, propVal);
- }
-
- CString _DListItem::GetKey()
- {
- CString result;
- GetProperty(0xc, VT_BSTR, (void*)&result);
- return result;
- }
-
- void _DListItem::SetKey(LPCTSTR propVal)
- {
- SetProperty(0xc, VT_BSTR, propVal);
- }
-
- BOOL _DListItem::GetSelected()
- {
- BOOL result;
- GetProperty(0xd, VT_BOOL, (void*)&result);
- return result;
- }
-
- void _DListItem::SetSelected(BOOL propVal)
- {
- SetProperty(0xd, VT_BOOL, propVal);
- }
-
- VARIANT _DListItem::GetTagVariant()
- {
- VARIANT result;
- GetProperty(0xe, VT_VARIANT, (void*)&result);
- return result;
- }
-
- void _DListItem::SetTagVariant(const VARIANT& propVal)
- {
- SetProperty(0xe, VT_VARIANT, &propVal);
- }
-
- short _DListItem::GetSelectedImage()
- {
- short result;
- GetProperty(0xf, VT_I2, (void*)&result);
- return result;
- }
-
- void _DListItem::SetSelectedImage(short propVal)
- {
- SetProperty(0xf, VT_I2, propVal);
- }
-
- short _DListItem::GetWordWrap()
- {
- short result;
- GetProperty(0x10, VT_I2, (void*)&result);
- return result;
- }
-
- void _DListItem::SetWordWrap(short propVal)
- {
- SetProperty(0x10, VT_I2, propVal);
- }
-
- CString _DListItem::GetFormat()
- {
- CString result;
- GetProperty(0x11, VT_BSTR, (void*)&result);
- return result;
- }
-
- void _DListItem::SetFormat(LPCTSTR propVal)
- {
- SetProperty(0x11, VT_BSTR, propVal);
- }
-
- CString _DListItem::Get_Text()
- {
- CString result;
- GetProperty(0x0, VT_BSTR, (void*)&result);
- return result;
- }
-
- void _DListItem::Set_Text(LPCTSTR propVal)
- {
- SetProperty(0x0, VT_BSTR, propVal);
- }
-
- /////////////////////////////////////////////////////////////////////////////
- // _DListItem operations
-
- LPDISPATCH _DListItem::GetSubItems(const VARIANT& Index)
- {
- LPDISPATCH result;
- static BYTE parms[] =
- VTS_VARIANT;
- InvokeHelper(0x12, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, parms,
- &Index);
- return result;
- }
-
- void _DListItem::SetSubItems(const VARIANT& Index, LPDISPATCH newValue)
- {
- static BYTE parms[] =
- VTS_VARIANT VTS_DISPATCH;
- InvokeHelper(0x12, DISPATCH_PROPERTYPUTREF, VT_EMPTY, NULL, parms,
- &Index, newValue);
- }
-
-
- /////////////////////////////////////////////////////////////////////////////
- // _DListImages properties
-
- short _DListImages::GetCount()
- {
- short result;
- GetProperty(0x1, VT_I2, (void*)&result);
- return result;
- }
-
- void _DListImages::SetCount(short propVal)
- {
- SetProperty(0x1, VT_I2, propVal);
- }
-
- long _DListImages::GetMemoryUsed()
- {
- long result;
- GetProperty(0x2, VT_I4, (void*)&result);
- return result;
- }
-
- void _DListImages::SetMemoryUsed(long propVal)
- {
- SetProperty(0x2, VT_I4, propVal);
- }
-
- /////////////////////////////////////////////////////////////////////////////
- // _DListImages operations
-
- LPDISPATCH _DListImages::GetItem(const VARIANT& Index)
- {
- LPDISPATCH result;
- static BYTE parms[] =
- VTS_VARIANT;
- InvokeHelper(0x6, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, parms,
- &Index);
- return result;
- }
-
- void _DListImages::SetItem(const VARIANT& Index, LPDISPATCH newValue)
- {
- static BYTE parms[] =
- VTS_VARIANT VTS_DISPATCH;
- InvokeHelper(0x6, DISPATCH_PROPERTYPUTREF, VT_EMPTY, NULL, parms,
- &Index, newValue);
- }
-
- void _DListImages::Remove(const VARIANT& Index)
- {
- static BYTE parms[] =
- VTS_VARIANT;
- InvokeHelper(0x3, DISPATCH_METHOD, VT_EMPTY, NULL, parms,
- &Index);
- }
-
- void _DListImages::Clear()
- {
- InvokeHelper(0x4, DISPATCH_METHOD, VT_EMPTY, NULL, NULL);
- }
-
- LPDISPATCH _DListImages::Add(const VARIANT& Index, const VARIANT& Key, const VARIANT& Picture)
- {
- LPDISPATCH result;
- static BYTE parms[] =
- VTS_VARIANT VTS_VARIANT VTS_VARIANT;
- InvokeHelper(0x5, DISPATCH_METHOD, VT_DISPATCH, (void*)&result, parms,
- &Index, &Key, &Picture);
- return result;
- }
-
- LPUNKNOWN _DListImages::_NewEnum()
- {
- LPUNKNOWN result;
- InvokeHelper(0xfffffffc, DISPATCH_METHOD, VT_UNKNOWN, (void*)&result, NULL);
- return result;
- }
-
-
- /////////////////////////////////////////////////////////////////////////////
- // _DListImage properties
-
- short _DListImage::GetIndex()
- {
- short result;
- GetProperty(0x1, VT_I2, (void*)&result);
- return result;
- }
-
- void _DListImage::SetIndex(short propVal)
- {
- SetProperty(0x1, VT_I2, propVal);
- }
-
- CString _DListImage::GetKey()
- {
- CString result;
- GetProperty(0x2, VT_BSTR, (void*)&result);
- return result;
- }
-
- void _DListImage::SetKey(LPCTSTR propVal)
- {
- SetProperty(0x2, VT_BSTR, propVal);
- }
-
- LPDISPATCH _DListImage::GetPicture()
- {
- LPDISPATCH result;
- GetProperty(0x3, VT_DISPATCH, (void*)&result);
- return result;
- }
-
- void _DListImage::SetPicture(LPDISPATCH propVal)
- {
- SetProperty(0x3, VT_DISPATCH, propVal);
- }
-
- LPDISPATCH _DListImage::Get_Picture()
- {
- LPDISPATCH result;
- GetProperty(0x0, VT_DISPATCH, (void*)&result);
- return result;
- }
-
- void _DListImage::Set_Picture(LPDISPATCH propVal)
- {
- SetProperty(0x0, VT_DISPATCH, propVal);
- }
-
- /////////////////////////////////////////////////////////////////////////////
- // _DListImage operations
-